:root {
    --ymcpi-bg: #050914;
    --ymcpi-bg-soft: #081120;
    --ymcpi-panel: rgba(12, 24, 43, 0.78);
    --ymcpi-panel-solid: #0c1729;
    --ymcpi-line: rgba(158, 185, 225, 0.16);
    --ymcpi-line-strong: rgba(158, 185, 225, 0.29);
    --ymcpi-text: #f7f9ff;
    --ymcpi-muted: #a8b5c9;
    --ymcpi-cyan: #58e4ff;
    --ymcpi-blue: #5999ff;
    --ymcpi-violet: #a071ff;
    --ymcpi-green: #58e8aa;
    --ymcpi-yellow: #f5ca61;
    --ymcpi-danger: #ff8ca1;
    --ymcpi-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    --ymcpi-radius-xl: 34px;
    --ymcpi-radius-lg: 24px;
    --ymcpi-radius-md: 16px;
    --ymcpi-container: 1240px;
}

html {
    scroll-behavior: smooth;
}

body.yasnamcp-integrations-page {
    margin: 0 !important;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ymcpi-text);
    background: var(--ymcpi-bg) !important;
    font-family: IRANSansWeb, IRANSans, "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

body.yasnamcp-integrations-page.admin-bar .ymcpi-header {
    top: 32px;
}

.ymcpi-site,
.ymcpi-site *,
.ymcpi-site *::before,
.ymcpi-site *::after,
.ymcp-integration-promo,
.ymcp-integration-promo *,
.ymcp-integration-promo *::before,
.ymcp-integration-promo *::after {
    box-sizing: border-box;
}

.ymcpi-site {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    overflow: hidden;
    color: var(--ymcpi-text);
    background:
        radial-gradient(circle at 12% 4%, rgba(89, 153, 255, 0.12), transparent 26%),
        radial-gradient(circle at 90% 18%, rgba(160, 113, 255, 0.13), transparent 30%),
        linear-gradient(180deg, #050914 0%, #07101d 48%, #050914 100%);
}

.ymcpi-site a {
    color: inherit;
    text-decoration: none;
}

.ymcpi-site button,
.ymcpi-site input {
    font: inherit;
}

.ymcpi-site h1,
.ymcpi-site h2,
.ymcpi-site h3,
.ymcpi-site p,
.ymcpi-site ul {
    padding: 0;
}

.ymcpi-site svg {
    width: 1.2em;
    height: 1.2em;
    flex: 0 0 auto;
}

.ymcpi-site :focus-visible,
.ymcp-integration-promo :focus-visible {
    outline: 2px solid var(--ymcpi-cyan, #58e4ff);
    outline-offset: 4px;
}

.ymcpi-site .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ymcpi-container {
    width: min(calc(100% - 40px), var(--ymcpi-container));
    margin-inline: auto;
}

.ymcpi-section {
    position: relative;
    padding: 116px 0;
}

.ymcpi-ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ymcpi-ambient > span {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(120px);
}

.ymcpi-ambient > span:first-child {
    top: 10%;
    left: -260px;
    background: var(--ymcpi-blue);
}

.ymcpi-ambient > span:nth-child(2) {
    top: 42%;
    right: -280px;
    background: var(--ymcpi-violet);
}

.ymcpi-ambient > i {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

/* Header */
.ymcpi-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(158, 185, 225, 0.11);
    background: rgba(5, 9, 20, 0.74);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
}

.ymcpi-nav-wrap {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.ymcpi-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ymcpi-brand-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(88, 228, 255, 0.24);
    border-radius: 14px;
    color: var(--ymcpi-cyan);
    background: linear-gradient(145deg, rgba(88, 228, 255, 0.17), rgba(160, 113, 255, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(31, 126, 255, 0.15);
}

.ymcpi-brand-mark svg {
    width: 31px;
    height: 31px;
}

.ymcpi-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ymcpi-brand strong {
    color: #fff;
    font-size: 18px;
    font-weight: 850;
}

.ymcpi-brand small {
    margin-top: 3px;
    color: var(--ymcpi-muted);
    font-size: 10px;
}

.ymcpi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.ymcpi-nav > a {
    position: relative;
    color: #bdc8da;
    font-size: 13px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.ymcpi-nav > a::after {
    content: "";
    position: absolute;
    inset-inline: 50%;
    bottom: -9px;
    height: 2px;
    background: linear-gradient(90deg, var(--ymcpi-cyan), var(--ymcpi-violet));
    transition: inset-inline 0.2s ease;
}

.ymcpi-nav > a:hover {
    color: #fff;
}

.ymcpi-nav > a:hover::after {
    inset-inline: 0;
}

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

.ymcpi-language {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--ymcpi-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.ymcpi-language a {
    min-width: 38px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--ymcpi-muted);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.ymcpi-language a b {
    display: none;
}

.ymcpi-language a:hover {
    color: #fff;
}

.ymcpi-language a.is-active {
    color: #06101d;
    background: var(--ymcpi-cyan);
    font-weight: 850;
}

.ymcpi-button {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.4;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ymcpi-button:hover {
    transform: translateY(-2px);
}

.ymcpi-button-primary {
    color: #04111b !important;
    background: linear-gradient(120deg, var(--ymcpi-cyan), #8af3d0);
    box-shadow: 0 16px 42px rgba(88, 228, 255, 0.18);
}

.ymcpi-button-primary:hover {
    box-shadow: 0 20px 50px rgba(88, 228, 255, 0.27);
}

.ymcpi-button-ghost {
    border-color: var(--ymcpi-line);
    background: rgba(255, 255, 255, 0.035);
}

.ymcpi-button-ghost:hover {
    border-color: rgba(88, 228, 255, 0.42);
    background: rgba(88, 228, 255, 0.08);
}

.ymcpi-button-light {
    color: #07101f !important;
    background: #fff;
    box-shadow: 0 16px 38px rgba(4, 10, 25, 0.22);
}

[dir="rtl"] .ymcpi-button > svg:last-child {
    transform: rotate(180deg);
}

/* Hero */
.ymcpi-hero {
    min-height: 100vh;
    padding: 172px 0 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ymcpi-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
    align-items: center;
    gap: 72px;
}

.ymcpi-eyebrow,
.ymcpi-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ymcpi-cyan);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.55px;
    text-transform: uppercase;
}

.ymcpi-eyebrow > span {
    width: 26px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.ymcpi-hero h1,
.ymcpi-centered h2,
.ymcpi-catalog-heading h2,
.ymcpi-final-card h2 {
    margin: 22px 0;
    color: var(--ymcpi-text);
    font-family: inherit;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -1.7px;
}

.ymcpi-hero h1 {
    max-width: 760px;
    font-size: clamp(47px, 6vw, 78px);
}

.ymcpi-hero h1 em,
.ymcpi-centered h2 em,
.ymcpi-catalog-heading h2 em,
.ymcpi-final-card h2 em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(100deg, var(--ymcpi-cyan), #90c7ff 48%, #c19dff 96%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ymcpi-hero-copy > p {
    max-width: 730px;
    margin: 0;
    color: var(--ymcpi-muted);
    font-size: 18px;
    line-height: 1.95;
}

.ymcpi-hero-actions {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.ymcpi-hero-badges {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ymcpi-hero-badges span {
    padding: 7px 11px;
    border: 1px solid rgba(88, 228, 255, 0.18);
    border-radius: 999px;
    color: #b8c8dc;
    background: rgba(88, 228, 255, 0.045);
    font-size: 10px;
    font-weight: 650;
}

.ymcpi-hero-visual {
    position: relative;
    min-height: 550px;
    display: grid;
    place-items: center;
}

.ymcpi-hero-visual::before {
    content: "";
    position: absolute;
    width: 83%;
    height: 83%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 228, 255, 0.18), rgba(89, 153, 255, 0.08) 45%, transparent 70%);
    filter: blur(12px);
}

.ymcpi-orbit {
    position: absolute;
    border: 1px dashed rgba(88, 228, 255, 0.21);
    border-radius: 50%;
    animation: ymcpi-rotate 28s linear infinite;
}

.ymcpi-orbit-one {
    width: 380px;
    height: 380px;
}

.ymcpi-orbit-two {
    width: 500px;
    height: 500px;
    border-color: rgba(160, 113, 255, 0.15);
    animation-direction: reverse;
    animation-duration: 38s;
}

.ymcpi-core {
    position: relative;
    z-index: 3;
    width: 205px;
    height: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(88, 228, 255, 0.37);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(88, 228, 255, 0.28), rgba(10, 22, 40, 0.96) 58%);
    box-shadow: 0 0 0 14px rgba(88, 228, 255, 0.035), 0 0 90px rgba(88, 228, 255, 0.19), inset 0 1px 0 rgba(255,255,255,0.11);
}

.ymcpi-core::before,
.ymcpi-core::after {
    content: "";
    position: absolute;
    inset: -28px;
    border: 1px solid rgba(88, 228, 255, 0.08);
    border-radius: 50%;
}

.ymcpi-core::after {
    inset: -54px;
    border-color: rgba(160, 113, 255, 0.07);
}

.ymcpi-core small {
    color: var(--ymcpi-cyan);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 2px;
}

.ymcpi-core strong {
    color: #fff;
    font-size: 62px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -3px;
}

.ymcpi-core span {
    color: #95a6bd;
    font-size: 10px;
}

.ymcpi-float {
    position: absolute;
    z-index: 4;
    min-height: 58px;
    padding: 9px 13px 9px 9px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--ymcpi-line-strong);
    border-radius: 16px;
    background: rgba(10, 21, 38, 0.89);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.06);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: ymcpi-float 5.6s ease-in-out infinite;
}

.ymcpi-float img {
    width: 35px;
    height: 35px;
    padding: 5px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.ymcpi-float b {
    max-width: 108px;
    color: #e8f1ff;
    font-size: 10px;
    font-weight: 750;
    direction: ltr;
}

.ymcpi-float-one { top: 48px; inset-inline-start: 4%; }
.ymcpi-float-two { top: 35px; inset-inline-end: 2%; animation-delay: -1.2s; }
.ymcpi-float-three { top: 226px; inset-inline-end: -1%; animation-delay: -2.6s; }
.ymcpi-float-four { bottom: 36px; inset-inline-end: 10%; animation-delay: -3.3s; }
.ymcpi-float-five { bottom: 25px; inset-inline-start: 8%; animation-delay: -4.5s; }
.ymcpi-float-six { top: 238px; inset-inline-start: -2%; animation-delay: -1.8s; }

.ymcpi-proof {
    margin-top: 76px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ymcpi-line);
    border-bottom: 1px solid var(--ymcpi-line);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.016), transparent);
}

.ymcpi-proof > div {
    min-height: 56px;
    padding: 0 27px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-inline-end: 1px solid var(--ymcpi-line);
}

.ymcpi-proof > div:last-child {
    border-inline-end: 0;
}

.ymcpi-proof strong {
    color: #fff;
    font-size: 23px;
    font-weight: 900;
}

.ymcpi-proof span {
    margin-top: 2px;
    color: #7f8ea6;
    font-size: 10px;
}

/* Cost comparison */
.ymcpi-cost-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(89, 153, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(10, 20, 38, 0.67), transparent);
}

.ymcpi-centered {
    max-width: 880px;
    margin-inline: auto;
    text-align: center;
}

.ymcpi-centered h2,
.ymcpi-catalog-heading h2,
.ymcpi-final-card h2 {
    margin-top: 17px;
    font-size: clamp(37px, 4.6vw, 59px);
}

.ymcpi-centered > p {
    max-width: 790px;
    margin: 22px auto 0;
    color: var(--ymcpi-muted);
    font-size: 16px;
    line-height: 2;
}

.ymcpi-cost-grid {
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ymcpi-cost-grid article {
    position: relative;
    min-height: 430px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--ymcpi-line);
    border-radius: var(--ymcpi-radius-lg);
    background: linear-gradient(145deg, rgba(14, 27, 48, 0.78), rgba(8, 17, 31, 0.8));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ymcpi-cost-grid article::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -105px;
    inset-inline-end: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 161, 0.12), transparent 68%);
}

.ymcpi-cost-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 228, 255, 0.27);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.ymcpi-cost-grid article.is-featured {
    border-color: rgba(82, 232, 166, 0.3);
    background:
        radial-gradient(circle at 100% 0%, rgba(82, 232, 166, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(13, 37, 45, 0.89), rgba(8, 20, 31, 0.9));
    box-shadow: 0 24px 70px rgba(3, 17, 24, 0.3), inset 0 1px 0 rgba(255,255,255,0.07);
}

.ymcpi-cost-grid article.is-featured::before {
    background: radial-gradient(circle, rgba(82, 232, 166, 0.18), transparent 68%);
}

.ymcpi-cost-label {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid var(--ymcpi-line);
    border-radius: 999px;
    color: #92a0b5;
    background: rgba(255,255,255,0.02);
    font-size: 9px;
    font-weight: 750;
}

.ymcpi-cost-grid .is-featured .ymcpi-cost-label {
    color: var(--ymcpi-green);
    border-color: rgba(82, 232, 166, 0.23);
    background: rgba(82, 232, 166, 0.07);
}

.ymcpi-cost-grid h3 {
    margin: 22px 0 12px;
    color: #fff;
    font-size: 23px;
    font-weight: 870;
    line-height: 1.45;
}

.ymcpi-cost-grid article > p {
    margin: 0;
    color: #96a5ba;
    font-size: 13px;
    line-height: 1.9;
}

.ymcpi-cost-grid ul {
    margin: 24px 0 0;
    list-style: none;
}

.ymcpi-cost-grid li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(158, 185, 225, 0.08);
    color: #aab7c9;
    font-size: 12px;
}

.ymcpi-cost-grid li:last-child {
    border-bottom: 0;
}

.ymcpi-cost-grid li > span {
    color: var(--ymcpi-danger);
    font-weight: 900;
}

.ymcpi-cost-grid .is-featured li > span {
    color: var(--ymcpi-green);
}

.ymcpi-base-plan {
    position: relative;
    margin-top: 28px;
    padding: 35px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    border: 1px solid rgba(88, 228, 255, 0.28);
    border-radius: var(--ymcpi-radius-lg);
    background:
        radial-gradient(circle at 85% 0%, rgba(160, 113, 255, 0.2), transparent 34%),
        radial-gradient(circle at 5% 120%, rgba(88, 228, 255, 0.2), transparent 38%),
        linear-gradient(120deg, rgba(17, 35, 61, 0.96), rgba(10, 23, 43, 0.96));
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.ymcpi-base-plan::after {
    content: "BASE";
    position: absolute;
    inset-inline-end: 20%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.035);
    font-size: 100px;
    font-weight: 950;
    letter-spacing: 8px;
}

.ymcpi-base-plan > * {
    position: relative;
    z-index: 1;
}

.ymcpi-base-plan > div {
    display: flex;
    flex-direction: column;
}

.ymcpi-base-plan > div > span {
    color: var(--ymcpi-cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.6px;
}

.ymcpi-base-plan strong {
    margin-top: 7px;
    color: #fff;
    font-size: 23px;
    line-height: 1.55;
}

.ymcpi-base-plan p {
    max-width: 790px;
    margin: 7px 0 0;
    color: #9cadc2;
    font-size: 12px;
    line-height: 1.9;
}

/* Directory */
.ymcpi-catalog-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(88, 228, 255, 0.06), transparent 28%),
        linear-gradient(180deg, transparent, rgba(9, 18, 33, 0.55), transparent);
}

.ymcpi-catalog-heading {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: end;
    gap: 76px;
}

.ymcpi-catalog-heading h2 {
    margin-bottom: 0;
}

.ymcpi-catalog-heading > p {
    margin: 0;
    color: var(--ymcpi-muted);
    font-size: 15px;
    line-height: 2;
}

.ymcpi-directory {
    margin-top: 56px;
    padding: 27px;
    border: 1px solid var(--ymcpi-line);
    border-radius: var(--ymcpi-radius-xl);
    background: linear-gradient(160deg, rgba(12, 24, 43, 0.81), rgba(6, 14, 27, 0.84));
    box-shadow: var(--ymcpi-shadow), inset 0 1px 0 rgba(255,255,255,0.05);
}

.ymcpi-directory-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.ymcpi-search {
    min-height: 62px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(158, 185, 225, 0.19);
    border-radius: 17px;
    color: #7f91aa;
    background: rgba(3, 10, 20, 0.72);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ymcpi-search:focus-within {
    border-color: rgba(88, 228, 255, 0.52);
    background: rgba(5, 14, 27, 0.93);
    box-shadow: 0 0 0 4px rgba(88, 228, 255, 0.07);
}

.ymcpi-search svg {
    width: 22px;
    height: 22px;
    color: var(--ymcpi-cyan);
}

.ymcpi-search input {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #edf5ff;
    background: transparent;
    font-size: 14px;
}

.ymcpi-search input::placeholder {
    color: #66758c;
    opacity: 1;
}

.ymcpi-search kbd {
    min-width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ymcpi-line);
    border-radius: 8px;
    color: #718198;
    background: rgba(255,255,255,0.035);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.ymcpi-result-count {
    min-height: 62px;
    min-width: 152px;
    padding: 0 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--ymcpi-line);
    border-radius: 17px;
    background: rgba(255,255,255,0.025);
}

.ymcpi-result-count strong {
    color: var(--ymcpi-cyan);
    font-size: 20px;
    font-weight: 900;
}

.ymcpi-result-count span {
    color: #8594aa;
    font-size: 10px;
}

.ymcpi-filters {
    margin-top: 17px;
    padding-bottom: 3px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.ymcpi-filters button {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    border: 1px solid var(--ymcpi-line);
    border-radius: 999px;
    color: #9cabc0;
    background: rgba(255,255,255,0.025);
    font-size: 10px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ymcpi-filters button b {
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #7e8ea5;
    background: rgba(255,255,255,0.055);
    font-size: 8px;
}

.ymcpi-filters button:hover {
    color: #fff;
    border-color: rgba(88, 228, 255, 0.3);
}

.ymcpi-filters button.is-active {
    color: #06111b;
    border-color: transparent;
    background: var(--ymcpi-cyan);
    font-weight: 800;
}

.ymcpi-filters button.is-active b {
    color: #06111b;
    background: rgba(5, 16, 28, 0.13);
}

.ymcpi-featured-label {
    margin: 28px 2px 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #7f90a7;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ymcpi-featured-label i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--ymcpi-line), transparent);
}

[dir="rtl"] .ymcpi-featured-label i {
    background: linear-gradient(270deg, var(--ymcpi-line), transparent);
}

.ymcpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.ymcpi-grid-divider {
    min-height: 42px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 13px;
    grid-column: 1 / -1;
    color: #7f90a7;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.ymcpi-grid-divider i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--ymcpi-line), transparent);
}

[dir="rtl"] .ymcpi-grid-divider i {
    background: linear-gradient(270deg, var(--ymcpi-line), transparent);
}

.ymcpi-grid-divider[hidden] {
    display: none !important;
}

.ymcpi-card {
    position: relative;
    min-height: 91px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    overflow: hidden;
    border: 1px solid rgba(158, 185, 225, 0.12);
    border-radius: 17px;
    background: rgba(9, 19, 35, 0.74);
    content-visibility: auto;
    contain-intrinsic-size: 91px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ymcpi-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    top: -60px;
    inset-inline-end: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 228, 255, 0.11), transparent 68%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ymcpi-card:hover {
    z-index: 2;
    transform: translateY(-3px);
    border-color: rgba(88, 228, 255, 0.28);
    background: rgba(11, 24, 43, 0.94);
    box-shadow: 0 16px 35px rgba(0,0,0,0.24);
}

.ymcpi-card:hover::after {
    opacity: 1;
}

.ymcpi-card.is-featured {
    border-color: rgba(82, 232, 166, 0.22);
    background: linear-gradient(145deg, rgba(16, 39, 45, 0.8), rgba(9, 22, 36, 0.85));
}

.ymcpi-card[hidden],
.ymcpi-empty[hidden],
.ymcpi-load-zone[hidden] {
    display: none !important;
}

.ymcpi-logo {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(158, 185, 225, 0.16);
    border-radius: 15px;
    background: linear-gradient(145deg, #fff, #e9eef6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.ymcpi-logo > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #18304b;
    background: linear-gradient(145deg, #eaf7ff, #dbe7f6);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.ymcpi-logo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 9px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.ymcpi-logo img.is-loaded {
    opacity: 1;
}

.ymcpi-logo.is-fallback img {
    display: none;
}

.ymcpi-card-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ymcpi-card-copy h3 {
    margin: 0;
    overflow: hidden;
    color: #edf3fc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 780;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    text-align: start;
}

.ymcpi-card-copy span {
    margin-top: 4px;
    color: #718198;
    font-size: 8px;
}

.ymcpi-base-badge {
    position: absolute;
    z-index: 3;
    top: 7px;
    inset-inline-end: 7px;
    padding: 3px 6px;
    border: 1px solid rgba(82, 232, 166, 0.2);
    border-radius: 999px;
    color: var(--ymcpi-green);
    background: rgba(6, 21, 25, 0.82);
    font-size: 6px;
    font-weight: 800;
}

.ymcpi-empty {
    margin-top: 16px;
    padding: 65px 25px;
    border: 1px dashed rgba(158, 185, 225, 0.2);
    border-radius: 19px;
    text-align: center;
    background: rgba(255,255,255,0.018);
}

.ymcpi-empty strong {
    color: #e7eef8;
    font-size: 18px;
}

.ymcpi-empty p {
    margin: 8px 0 0;
    color: #8796ac;
    font-size: 12px;
}

.ymcpi-load-zone {
    position: relative;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.ymcpi-load-zone > span {
    position: absolute;
    bottom: -12px;
    width: 1px;
    height: 1px;
}

.ymcpi-load-zone .ymcpi-button {
    min-width: 230px;
}

.ymcpi-load-zone .ymcpi-button.is-complete {
    opacity: 0.72;
    cursor: default;
    pointer-events: none;
}

.ymcpi-directory-note {
    max-width: 940px;
    margin: 23px auto 0;
    color: #6f7f96;
    font-size: 9px;
    line-height: 1.9;
    text-align: center;
}

/* FAQ + CTA + footer */
.ymcpi-faq-section {
    background: linear-gradient(180deg, transparent, rgba(9, 18, 32, 0.65));
}

.ymcpi-faq-list {
    max-width: 930px;
    margin-top: 50px;
}

.ymcpi-faq-list details {
    border-bottom: 1px solid var(--ymcpi-line);
}

.ymcpi-faq-list summary {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #e5ebf5;
    font-size: 15px;
    font-weight: 760;
    cursor: pointer;
    list-style: none;
}

.ymcpi-faq-list summary::-webkit-details-marker {
    display: none;
}

.ymcpi-faq-list summary b {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    border: 1px solid var(--ymcpi-line);
    border-radius: 50%;
    color: var(--ymcpi-cyan);
    font-size: 19px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.ymcpi-faq-list details[open] summary b {
    transform: rotate(45deg);
}

.ymcpi-faq-list details > p {
    max-width: 820px;
    margin: -3px 0 26px;
    color: #8f9eb4;
    font-size: 13px;
    line-height: 2;
}

.ymcpi-final {
    padding: 0 0 100px;
}

.ymcpi-final-card {
    position: relative;
    padding: 55px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    overflow: hidden;
    border-radius: var(--ymcpi-radius-xl);
    background:
        radial-gradient(circle at 15% 120%, rgba(88, 228, 255, 0.4), transparent 35%),
        radial-gradient(circle at 95% 0%, rgba(201, 172, 255, 0.36), transparent 35%),
        linear-gradient(115deg, #5364f5, #7e51d7 57%, #a35ec9);
    box-shadow: 0 30px 80px rgba(77, 69, 196, 0.28);
}

.ymcpi-final-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-inline-end: -125px;
    bottom: -175px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255,255,255,0.05), 0 0 0 90px rgba(255,255,255,0.03);
}

.ymcpi-final-card > * {
    position: relative;
    z-index: 1;
}

.ymcpi-final-card > div > span {
    color: rgba(255,255,255,0.74);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.4px;
}

.ymcpi-final-card h2 {
    margin: 11px 0 8px;
    font-size: clamp(34px, 4vw, 52px);
}

.ymcpi-final-card h2 em {
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
}

.ymcpi-final-card p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.77);
    font-size: 12px;
}

.ymcpi-footer {
    border-top: 1px solid var(--ymcpi-line);
    background: #040812;
}

.ymcpi-footer > .ymcpi-container:first-child {
    min-height: 130px;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ymcpi-footer-brand {
    display: flex;
    flex-direction: column;
}

.ymcpi-footer-brand strong {
    color: #fff;
    font-size: 19px;
}

.ymcpi-footer-brand span {
    max-width: 520px;
    margin-top: 4px;
    color: #74839a;
    font-size: 10px;
}

.ymcpi-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.ymcpi-footer-links a {
    color: #8795aa;
    font-size: 10px;
    transition: color 0.2s ease;
}

.ymcpi-footer-links a:hover {
    color: var(--ymcpi-cyan);
}

.ymcpi-footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--ymcpi-line);
    color: #5f6c81;
    font-size: 9px;
}

/* Landing-page addition. This is intentionally scoped to the existing YasnaMCP page. */
.ymcp-site .ymcp-integrations-nav-link {
    color: var(--ymcp-cyan) !important;
    font-weight: 800 !important;
}

.ymcp-integration-promo {
    position: relative;
    background:
        radial-gradient(circle at 88% 30%, rgba(158, 107, 255, 0.12), transparent 32%),
        linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.48), transparent);
}

.ymcp-integration-promo-shell {
    position: relative;
    padding: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    gap: 58px;
    overflow: hidden;
    border: 1px solid rgba(88, 228, 255, 0.24);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 0%, rgba(158, 107, 255, 0.17), transparent 33%),
        radial-gradient(circle at 0% 100%, rgba(88, 228, 255, 0.11), transparent 36%),
        linear-gradient(145deg, rgba(15, 31, 54, 0.9), rgba(7, 15, 29, 0.94));
    box-shadow: 0 28px 90px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.07);
}

.ymcp-integration-promo-shell::before {
    content: "300";
    position: absolute;
    inset-inline-end: 10%;
    top: -66px;
    color: rgba(255,255,255,0.025);
    font-size: 235px;
    font-weight: 950;
    line-height: 1;
}

.ymcp-integration-promo-copy,
.ymcp-integration-promo-visual {
    position: relative;
    z-index: 1;
}

.ymcp-integration-promo-copy h2 {
    margin: 18px 0;
    color: #fff;
    font-size: clamp(35px, 4.3vw, 54px);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -1.3px;
}

.ymcp-integration-promo-copy h2 em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(100deg, var(--ymcp-cyan, #58e4ff), #91c8ff 48%, #c19dff 96%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ymcp-integration-promo-copy > p {
    margin: 0;
    color: var(--ymcp-muted, #a7b4c9);
    font-size: 14px;
    line-height: 2;
}

.ymcp-integration-promo-badges {
    margin: 24px 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ymcp-integration-promo-badges span {
    padding: 7px 10px;
    border: 1px solid rgba(82, 232, 166, 0.2);
    border-radius: 999px;
    color: #8feabd;
    background: rgba(82, 232, 166, 0.055);
    font-size: 9px;
    font-weight: 700;
}

.ymcp-integration-promo-visual {
    min-height: 390px;
    display: grid;
    place-items: center;
}

.ymcp-integration-promo-count {
    position: absolute;
    z-index: 4;
    width: 170px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(88, 228, 255, 0.35);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(88, 228, 255, 0.28), rgba(9, 21, 39, 0.97) 60%);
    box-shadow: 0 0 0 13px rgba(88, 228, 255, 0.035), 0 0 70px rgba(88, 228, 255, 0.18);
}

.ymcp-integration-promo-count strong {
    color: #fff;
    font-size: 52px;
    font-weight: 950;
    line-height: 1.1;
}

.ymcp-integration-promo-count span {
    color: #95a6bd;
    font-size: 9px;
}

.ymcp-integration-promo-logos {
    width: 100%;
    height: 100%;
    position: relative;
}

.ymcp-integration-promo-logos > span {
    position: absolute;
    z-index: 3;
    min-height: 50px;
    padding: 7px 11px 7px 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(158, 185, 225, 0.23);
    border-radius: 14px;
    background: rgba(8, 18, 34, 0.9);
    box-shadow: 0 13px 31px rgba(0,0,0,0.26);
    animation: ymcpi-float 5.6s ease-in-out infinite;
}

.ymcp-integration-promo-logos img {
    width: 34px;
    height: 34px;
    padding: 5px;
    object-fit: contain;
    border-radius: 9px;
    background: #fff;
}

.ymcp-integration-promo-logos b {
    color: #e8f1ff;
    font-size: 9px;
    font-weight: 750;
    direction: ltr;
}

.ymcp-integration-promo-logos > span:nth-child(1) { top: 12px; inset-inline-start: 3%; }
.ymcp-integration-promo-logos > span:nth-child(2) { top: 8px; inset-inline-end: 2%; animation-delay: -1.2s; }
.ymcp-integration-promo-logos > span:nth-child(3) { top: 122px; inset-inline-start: -2%; animation-delay: -2.1s; }
.ymcp-integration-promo-logos > span:nth-child(4) { top: 120px; inset-inline-end: -2%; animation-delay: -3.2s; }
.ymcp-integration-promo-logos > span:nth-child(5) { bottom: 64px; inset-inline-start: 1%; animation-delay: -4.2s; }
.ymcp-integration-promo-logos > span:nth-child(6) { bottom: 56px; inset-inline-end: 0; animation-delay: -2.8s; }
.ymcp-integration-promo-logos > span:nth-child(7) { bottom: 0; inset-inline-start: 25%; animation-delay: -1.7s; }
.ymcp-integration-promo-logos > span:nth-child(8) { bottom: 0; inset-inline-end: 22%; animation-delay: -4.9s; }

.ymcp-integration-promo-visual > small {
    position: absolute;
    z-index: 5;
    bottom: 50%;
    transform: translateY(105px);
    padding: 4px 9px;
    border: 1px solid rgba(88, 228, 255, 0.2);
    border-radius: 999px;
    color: var(--ymcp-cyan, #58e4ff);
    background: rgba(5, 13, 26, 0.9);
    font-size: 8px;
    font-weight: 800;
}

.ymcpi-js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ymcpi-js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ymcpi-rotate {
    to { transform: rotate(360deg); }
}

@keyframes ymcpi-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1120px) {
    .ymcpi-nav-wrap { gap: 17px; }
    .ymcpi-nav { gap: 16px; }
    .ymcpi-language a:not(.is-active) span { display: none; }
    .ymcpi-language a:not(.is-active) b { display: inline; }
    .ymcpi-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 36px; }
    .ymcpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ymcp-integration-promo-shell { grid-template-columns: 1fr 0.85fr; gap: 36px; }
}

@media (max-width: 920px) {
    body.yasnamcp-integrations-page.admin-bar .ymcpi-header { top: 46px; }
    .ymcpi-section { padding: 88px 0; }
    .ymcpi-nav { display: none; }
    .ymcpi-nav-wrap { grid-template-columns: auto 1fr; }
    .ymcpi-actions { justify-self: end; }
    .ymcpi-hero { padding-top: 145px; }
    .ymcpi-hero-grid,
    .ymcpi-catalog-heading { grid-template-columns: 1fr; }
    .ymcpi-hero-grid { gap: 48px; }
    .ymcpi-hero-copy { text-align: center; }
    .ymcpi-eyebrow,
    .ymcpi-hero-actions,
    .ymcpi-hero-badges { justify-content: center; }
    .ymcpi-hero-copy > p { margin-inline: auto; }
    .ymcpi-hero-visual { width: min(100%, 610px); margin-inline: auto; }
    .ymcpi-proof { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .ymcpi-proof > div:nth-child(2) { border-inline-end: 0; }
    .ymcpi-cost-grid { grid-template-columns: 1fr; }
    .ymcpi-cost-grid article { min-height: auto; }
    .ymcpi-catalog-heading { gap: 24px; }
    .ymcpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ymcp-integration-promo-shell { grid-template-columns: 1fr; }
    .ymcp-integration-promo-copy { text-align: center; }
    .ymcp-integration-promo-badges { justify-content: center; }
    .ymcp-integration-promo-copy .ymcp-button { margin-inline: auto; }
    .ymcp-integration-promo-visual { width: min(100%, 560px); margin-inline: auto; }
}

@media (max-width: 680px) {
    .ymcpi-container { width: min(calc(100% - 28px), var(--ymcpi-container)); }
    .ymcpi-section { padding: 72px 0; }
    .ymcpi-nav-wrap { min-height: 72px; gap: 8px; }
    .ymcpi-brand small { display: none; }
    .ymcpi-brand strong { font-size: 15px; }
    .ymcpi-brand-mark { width: 40px; height: 40px; }
    .ymcpi-language { padding: 3px; }
    .ymcpi-language a { min-width: 29px; padding: 5px 6px; font-size: 9px; }
    .ymcpi-language a span { display: none !important; }
    .ymcpi-language a b { display: inline; }
    .ymcpi-header-cta { display: none; }
    .ymcpi-hero { min-height: auto; padding-top: 126px; }
    .ymcpi-hero h1 { font-size: clamp(39px, 12.5vw, 55px); letter-spacing: -1px; }
    .ymcpi-hero-copy > p { font-size: 15px; }
    .ymcpi-hero-actions { flex-direction: column; align-items: stretch; }
    .ymcpi-button { width: 100%; }
    .ymcpi-hero-badges { flex-direction: column; align-items: stretch; }
    .ymcpi-hero-badges span { text-align: center; }
    .ymcpi-hero-visual { min-height: 430px; transform: scale(0.9); transform-origin: center; margin-block: -24px; }
    .ymcpi-orbit-one { width: 320px; height: 320px; }
    .ymcpi-orbit-two { width: 410px; height: 410px; }
    .ymcpi-core { width: 165px; height: 165px; }
    .ymcpi-core strong { font-size: 50px; }
    .ymcpi-float { min-height: 48px; padding: 7px 9px 7px 7px; }
    .ymcpi-float img { width: 30px; height: 30px; }
    .ymcpi-float b { font-size: 8px; }
    .ymcpi-proof { margin-top: 38px; padding: 22px 10px; }
    .ymcpi-proof > div { padding: 0 14px; }
    .ymcpi-proof strong { font-size: 18px; }
    .ymcpi-centered h2,
    .ymcpi-catalog-heading h2,
    .ymcpi-final-card h2 { font-size: clamp(31px, 9vw, 43px); letter-spacing: -0.8px; }
    .ymcpi-cost-grid article { padding: 27px; }
    .ymcpi-base-plan { padding: 28px; flex-direction: column; align-items: stretch; }
    .ymcpi-base-plan strong { font-size: 19px; }
    .ymcpi-directory { padding: 16px; border-radius: 23px; }
    .ymcpi-directory-toolbar { grid-template-columns: 1fr; }
    .ymcpi-result-count { min-height: 45px; }
    .ymcpi-grid { grid-template-columns: 1fr; }
    .ymcpi-card { min-height: 86px; }
    .ymcpi-load-zone .ymcpi-button { min-width: 0; }
    .ymcpi-final-card { padding: 38px 28px; flex-direction: column; align-items: stretch; text-align: center; }
    .ymcpi-footer > .ymcpi-container:first-child,
    .ymcpi-footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
    .ymcpi-footer-links { justify-content: center; }
    .ymcpi-footer-bottom { padding: 18px 0; }
    .ymcp-integration-promo-shell { padding: 30px 24px; border-radius: 23px; }
    .ymcp-integration-promo-copy h2 { font-size: clamp(31px, 9vw, 43px); }
    .ymcp-integration-promo-visual { min-height: 355px; transform: scale(0.9); margin-block: -18px; }
    .ymcp-integration-promo-logos b { display: none; }
    .ymcp-integration-promo-logos > span { padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ymcpi-site *,
    .ymcpi-site *::before,
    .ymcpi-site *::after,
    .ymcp-integration-promo *,
    .ymcp-integration-promo *::before,
    .ymcp-integration-promo *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
