/* Google Fonts loaded async in index.html — removed @import to eliminate render-blocking chain */

/* =============================================================
   Calik X · ElevenLabs-style Top Navigation Bar
   Hardware-accelerated · Glassmorphism · 60fps transitions
   ============================================================= */

/* ── TOPNAV ROOT ── */
.cx-topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    z-index: 999993;
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 0;
    /* site body tonu: #050508 → #0d0d22 — alttan transparana geçerek içeriğin devamı gibi akar */
    background: linear-gradient(180deg,
        rgba(5,5,8,0.94) 0%,
        rgba(6,6,14,0.82) 55%,
        rgba(9,9,22,0.0) 100%
    );
    backdrop-filter: saturate(160%) blur(22px);
    -webkit-backdrop-filter: saturate(160%) blur(22px);
    border-bottom: none;
    box-shadow: none;
    transition: background 0.35s ease;
    will-change: transform;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}
.cx-topnav.is-scrolled {
    /* scroll edilince içerik arkada geçiyor — biraz daha opak, yine sitenin rengi */
    background: linear-gradient(180deg,
        rgba(5,5,8,0.97) 0%,
        rgba(7,7,18,0.93) 65%,
        rgba(9,9,22,0.55) 100%
    );
    box-shadow: 0 1px 32px rgba(0,0,0,0.45);
}

/* ── LOGO ── */
.cx-topnav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.cx-topnav__logo-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 14px rgba(10, 132, 255, 0.5);
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.cx-topnav__logo:hover .cx-topnav__logo-mark {
    box-shadow: 0 0 28px rgba(10, 132, 255, 0.75);
    transform: scale(1.08) rotate(-4deg);
}
.cx-topnav__logo-mark svg {
    width: 18px; height: 18px;
    fill: #fff;
}
.cx-topnav__logo-text {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Orbitron', 'Century Gothic', sans-serif;
    color: #fff;
    -webkit-text-fill-color: #fff;
    letter-spacing: 0.04em;
    line-height: 1;
}
.cx-topnav__logo-text em {
    font-style: normal;
    background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 3px;
}

/* ── NAV ITEMS (right-aligned cluster) ── */
.cx-topnav__items {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    flex-shrink: 0;
}
.cx-topnav__item {
    position: relative;
}
/* spacing is uniform — no extra margin per item */

/* Non-dropdown items lack a chevron (5px gap + 14px icon = 19px).
   Add the same 19px to their right padding so inter-word gap is equal:
   dropdown: (5+14+12) + gap + 12 = 43+gap
   simple:   (12+19)   + gap + 12 = 43+gap  ✓ */
.cx-topnav__item:not([data-dropdown]) > .cx-topnav__link {
    padding-right: 31px;
}

/* ── NAV CENTER WRAPPER ── */
.cx-topnav__center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ── RIGHT SECTION (Join + mobile toggle) ── */
.cx-topnav__right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── JOIN BUTTON ── */
.cx-topnav__join-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, #0a84ff 0%, #4f8eff 100%);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 14px rgba(10,132,255,0.35);
    transition: box-shadow 0.25s ease, transform 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.cx-topnav__join-btn:hover {
    box-shadow: 0 0 24px rgba(10,132,255,0.6);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1a8fff 0%, #5f9bff 100%);
}
.cx-topnav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.05em;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.cx-topnav__link:hover,
.cx-topnav__item.is-active > .cx-topnav__link {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.cx-topnav__link-chevron {
    width: 14px; height: 14px;
    color: currentColor;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
    flex-shrink: 0;
}
.cx-topnav__item.is-active .cx-topnav__link-chevron {
    transform: rotate(180deg);
}

/* ── MEGA DROPDOWN (gradient that matches site bg) ── */
.cx-topnav__dropdown {
    position: absolute;
    top: 100%;          /* sit flush against navbar — NO 10px gap */
    right: 0;
    left: auto;
    margin-top: 0;         /* gap bridged by padding-top in shorthand below */
    width: 900px;
    max-width: calc(100vw - 32px);
    background:
        radial-gradient(ellipse 90% 80% at 0%   0%,   rgba(10, 132, 255, 0.55) 0%, transparent 52%),
        radial-gradient(ellipse 85% 75% at 100% 100%, rgba(191, 90, 242, 0.48) 0%, transparent 52%),
        radial-gradient(ellipse 65% 55% at 100% 0%,   rgba(48, 209, 88,  0.18) 0%, transparent 48%),
        radial-gradient(ellipse 55% 45% at 0%   100%,  rgba(90, 200, 250, 0.14) 0%, transparent 48%),
        linear-gradient(150deg, rgba(3, 8, 28, 0.97) 0%, rgba(7, 3, 20, 0.97) 100%);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 16px 16px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 0.9fr;
    gap: 8px;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.65),
        0 8px 32px rgba(10, 132, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    transition:
        opacity 0.28s cubic-bezier(0.22,1,0.36,1),
        transform 0.28s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
    z-index: 1;
}
/* 2-section layout: items grid replaces two separate cols */
.cx-topnav__dropdown:has(.cx-topnav__dd-secgrid) {
    grid-template-columns: 1fr 0.9fr;
    width: 960px;
}
/* Shared 2-column grid for row-aligned items across sections */
.cx-topnav__dd-secgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.cx-topnav__dd-secgrid-head {
    padding: 8px 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cx-topnav__dd-secgrid .cx-col-right {
    border-left: 1px solid rgba(255,255,255,0.06);
    padding-left: 4px;
}
.cx-topnav__item.is-active .cx-topnav__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
/* Invisible hover bridge so cursor can travel between link and dropdown */
.cx-topnav__item[data-dropdown]::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 900px;
    max-width: calc(100vw - 32px);
    height: 14px;
    pointer-events: none;
}
.cx-topnav__item.is-active[data-dropdown]::after {
    pointer-events: auto;
}
.cx-topnav__dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cx-topnav__dropdown-head {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 8px 14px 4px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cx-topnav__dropdown-head-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.42);
    padding: 4px 14px 8px;
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: 0.005em;
}
.cx-topnav__dd-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    text-align: left;
    width: 100%;
}
.cx-topnav__dd-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.cx-topnav__dd-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.cx-topnav__dd-item:hover .cx-topnav__dd-icon {
    transform: scale(1.08) rotate(-3deg);
}
.cx-topnav__dd-icon svg {
    width: 15px; height: 15px;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.6;
    fill: none;
}
.cx-topnav__dd-icon--purple svg { stroke: #bf5af2; }
.cx-topnav__dd-icon--blue svg   { stroke: #0a84ff; }
.cx-topnav__dd-icon--green svg  { stroke: #30d158; }
.cx-topnav__dd-icon--orange svg { stroke: #ff9f0a; }
.cx-topnav__dd-icon--red svg    { stroke: #ff375f; }
.cx-topnav__dd-icon--teal svg   { stroke: #5ac8fa; }
.cx-topnav__dd-icon--gold svg   { stroke: #ffd60a; }
.cx-topnav__dd-icon--purple    { background: rgba(191,90,242,0.10); border-color: rgba(191,90,242,0.20); }
.cx-topnav__dd-icon--blue      { background: rgba(10,132,255,0.10); border-color: rgba(10,132,255,0.20); }
.cx-topnav__dd-icon--green     { background: rgba(48,209,88,0.10);  border-color: rgba(48,209,88,0.20); }
.cx-topnav__dd-icon--orange    { background: rgba(255,159,10,0.10); border-color: rgba(255,159,10,0.20); }
.cx-topnav__dd-icon--red       { background: rgba(255,55,95,0.10);  border-color: rgba(255,55,95,0.20); }
.cx-topnav__dd-icon--teal      { background: rgba(90,200,250,0.10); border-color: rgba(90,200,250,0.20); }
.cx-topnav__dd-icon--gold      { background: rgba(255,214,10,0.10); border-color: rgba(255,214,10,0.22); }

.cx-topnav__dd-text {}
.cx-topnav__dd-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: 'Jost', 'Century Gothic', -apple-system, sans-serif;
}
.cx-topnav__dd-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.54);
    line-height: 1.55;
    font-family: 'Plus Jakarta Sans', 'Jost', -apple-system, sans-serif;
}
.cx-topnav__dd-item:hover .cx-topnav__dd-title { color: #0a84ff; }

/* ── BADGE CHIP ── */
.cx-topnav__dd-badge {
    display: inline-flex; align-items: center;
    font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px; padding: 1px 6px;
    line-height: 1.6; white-space: nowrap;
    font-family: 'Jost', monospace;
}

/* ── LIVE INDICATOR ── */
.cx-topnav__dd-live {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
    color: #30d158;
    border: 1px solid rgba(48,209,88,0.28);
    background: rgba(48,209,88,0.08);
    border-radius: 5px; padding: 1px 6px;
    line-height: 1.6; white-space: nowrap;
}
.cx-topnav__dd-live-dot {
    width: 5px; height: 5px; border-radius: 50%; background: #30d158;
    flex-shrink: 0;
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.65); }
}

/* ── STAGGER ENTRANCE ── */
@keyframes ddItemIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cx-topnav__item.is-active .cx-topnav__dd-item {
    animation: ddItemIn 0.35s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: calc(var(--i, 0) * 50ms);
}

/* ── DIVIDER BETWEEN COLUMNS ── */
.cx-topnav__dropdown-col:not(:last-child):not(.cx-topnav__dropdown-col--promo) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 4px;
}
.cx-topnav__dropdown-col + .cx-topnav__dropdown-col:not(.cx-topnav__dropdown-col--promo) {
    padding-left: 4px;
}
.cx-topnav__dropdown-col--promo { padding-left: 8px; }

/* ── PROMO COLUMN (3rd col, compact, NO code block) ── */
.cx-topnav__dd-promo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 14px 14px 16px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(10, 132, 255, 0.22) 0%, rgba(191, 90, 242, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    min-height: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.2s ease;
}
.cx-topnav__dd-promo-glow {
    position: absolute; inset: -40% -40% auto auto;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease;
}
.cx-topnav__dd-promo:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 16px 40px rgba(10, 132, 255, 0.25);
}
.cx-topnav__dd-promo:hover .cx-topnav__dd-promo-glow { transform: translate(-20px, 20px); }
.cx-topnav__dd-promo-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.cx-topnav__dd-promo-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
.cx-topnav__dd-promo-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
    margin: 0 0 14px;
    position: relative;
    z-index: 1;
}
.cx-topnav__dd-promo-cta {
    display: inline-flex; align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.005em;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.cx-topnav__dd-promo:hover .cx-topnav__dd-promo-cta { transform: translateX(3px); }

/* ── PROMO STATS STRIP ── */
.cx-topnav__dd-promo-stats {
    display: flex;
    gap: 5px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cx-topnav__dd-promo-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9px 4px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.cx-topnav__dd-promo:hover .cx-topnav__dd-promo-stat {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}
.cx-topnav__dd-promo-stat-val {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-family: 'Jost', sans-serif;
    background: linear-gradient(135deg, #0a84ff, #bf5af2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}
.cx-topnav__dd-promo-stat-lbl {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
/* ── PROMO VISUAL (SVG / terminal illustration) ── */
.cx-topnav__dd-promo-visual {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    position: relative;
    z-index: 1;
    max-height: 110px;
    overflow: hidden;
}
/* 2 SVG mock-screen panels side by side */
.cx-topnav__dd-promo-visual--screens {
    gap: 5px;
    align-items: stretch;
    padding: 0;
    height: 110px;
    max-height: none;
    overflow: visible;
}
.cx-topnav__dd-promo-visual--screens img,
.cx-topnav__dd-promo-visual--screens svg {
    flex: 1;
    min-width: 0;
    height: 110px;
    display: block;
    border-radius: 7px;
    opacity: 0.88;
    overflow: hidden;
    max-width: none;
}
.cx-topnav__dd-promo-visual svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}
/* Separator line — moved ABOVE stats (between visual and stats) */
.cx-topnav__dd-promo-sep {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
/* Terminal / code visual */
.cx-topnav__dd-promo-visual--code {
    width: 100%;
    gap: 8px;
    align-items: stretch;
}
.cx-promo-terminal {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.09);
    overflow: hidden;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.cx-promo-terminal--sdk {
    flex: 0.85;
}
.cx-promo-term-bar {
    display: flex;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cx-promo-term-bar span {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.cx-promo-term-bar span:nth-child(1) { background: rgba(255,55,95,0.55); }
.cx-promo-term-bar span:nth-child(2) { background: rgba(255,159,10,0.55); }
.cx-promo-term-bar span:nth-child(3) { background: rgba(48,209,88,0.55); }
.cx-promo-term-body {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cx-pt-line {
    font-size: 9.5px;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    display: flex;
    gap: 5px;
}
.cx-pt-line--in { padding-left: 12px; }
.cx-pt-out {
    margin-top: 2px;
    padding-left: 0;
    font-size: 9.5px;
    display: flex;
    gap: 5px;
}
.cx-pt-m  { color: #bf5af2; font-weight: 700; }
.cx-pt-p  { color: rgba(255,255,255,0.65); }
.cx-pt-k  { color: #5ac8fa; }
.cx-pt-c  { color: rgba(255,255,255,0.35); }
.cx-pt-v  { color: #ff9f0a; }
.cx-pt-v2 { color: #0a84ff; font-weight: 600; }
.cx-pt-n  { color: #ff375f; }
.cx-pt-g  { color: #30d158; }
.cx-pt-ok { color: #30d158; font-weight: 700; }
/* ── PROMO BODY (text block at bottom) ── */
.cx-topnav__dd-promo-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 0;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
/* Promo column entrance animation */
.cx-topnav__item.is-active .cx-topnav__dropdown-col--promo {
    animation: ddItemIn 0.42s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 60ms;
}
.cx-topnav__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.cx-topnav__cta-link {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.cx-topnav__cta-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* ── PRICING nav link — subtle glowing border ── */
.cx-topnav__link--pricing {
    position: relative;
}
.cx-topnav__link--pricing::after {
    content: '';
    position: absolute;
    inset: 3px 0;
    border-radius: 8px;
    border: 1px solid rgba(10,132,255,0.32);
    box-shadow:
        0 0 10px rgba(10,132,255,0.18),
        0 0 18px rgba(191,90,242,0.10),
        inset 0 0 6px rgba(10,132,255,0.04);
    pointer-events: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cx-topnav__link--pricing:hover::after {
    border-color: rgba(10,132,255,0.55);
    box-shadow:
        0 0 18px rgba(10,132,255,0.38),
        0 0 30px rgba(191,90,242,0.22),
        inset 0 0 10px rgba(10,132,255,0.07);
}

.cx-topnav__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 22px;
    gap: 7px;
    border-radius: 10px;
    /* Gradient border on dark fill — no loud fill, just a lit outline */
    background:
        linear-gradient(rgba(5,5,10,0.72), rgba(9,9,22,0.72)) padding-box,
        linear-gradient(135deg, #0a84ff, #bf5af2) border-box;
    border: 1.5px solid transparent;
    color: rgba(255,255,255,0.92);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', inherit;
    box-shadow:
        0 0 14px rgba(10,132,255,0.28),
        0 0 22px rgba(191,90,242,0.14),
        0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.cx-topnav__cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 26px rgba(10,132,255,0.6),
        0 0 42px rgba(191,90,242,0.32),
        0 4px 18px rgba(0,0,0,0.35);
    color: #fff;
}

/* ── SPACER: push page content below navbar ── */
.cx-has-navbar .cx-page__close { top: 76px; }
.cx-has-navbar .cx-page__close { top: 76px; }
.cx-has-navbar .cx-page__3dhome { top: 76px; }
.cx-has-navbar .cx-normalweb-btn { top: 76px; }
.cx-has-navbar .cx-lang-switch { bottom: 110px; }
/* portfolio sidebar trigger: push below navbar */
.cx-has-navbar .cx-trigger { top: 76px; }
.cx-has-navbar .cx-sidebar { top: 64px; height: calc(100vh - 64px); }

/* ── MOBILE HAMBURGER inside navbar ── */
.cx-topnav__mobile-toggle {
    display: none;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    gap: 5px;
    flex-direction: column;
}
.cx-topnav__mobile-toggle span {
    display: block;
    width: 16px; height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.cx-topnav__mobile-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.cx-topnav__mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.cx-topnav__mobile-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.cx-topnav__mobile-drawer {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(8,8,12,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999992;
    padding: 16px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
.cx-topnav__mobile-drawer.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .cx-topnav__items,
    .cx-topnav__cta-link,
    .cx-topnav__cta-btn { display: none; }
    .cx-topnav__mobile-toggle { display: flex; }
    .cx-topnav__mobile-drawer { display: block; }
    .cx-topnav { padding: 0 20px; }
    /* Keep existing trigger hidden; navbar handles mobile */
    .cx-has-navbar .cx-trigger { display: none !important; }
}
@media (min-width: 901px) {
    /* portfolio trigger visibility is JS-controlled (portfolio.js openPage/closePage) */
}

/* ── MOBILE DRAWER ITEMS ── */
.cx-topnav__mob-section {
    margin-bottom: 8px;
}
.cx-topnav__mob-heading {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 10px 12px 6px;
}
.cx-topnav__mob-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    width: 100%;
    text-align: left;
}
.cx-topnav__mob-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.cx-topnav__mob-link svg {
    width: 18px; height: 18px;
    stroke: rgba(255,255,255,0.6);
    stroke-width: 1.6;
    fill: none;
    flex-shrink: 0;
}
.cx-topnav__mob-cta {
    margin-top: 12px;
    padding: 0 4px 12px;
}
.cx-topnav__mob-cta a,
.cx-topnav__mob-cta button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: inherit;
}
.cx-topnav__mob-cta a:first-child,
.cx-topnav__mob-cta button:first-child {
    background: #fff;
    color: #000;
    margin-bottom: 8px;
}

/* Mobile launch button (added by navbar.js) */
.cx-topnav__mob-launch {
    display: block;
    width: calc(100% - 8px);
    margin: 16px 4px 8px;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 30px rgba(10, 132, 255, 0.35);
}

/* ── LANGUAGE TOGGLE (TR / EN) ── */
.cx-topnav__lang {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}
.cx-topnav__lang-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 11px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cx-topnav__lang-btn:hover { color: #fff; }
.cx-topnav__lang-btn.is-active {
    background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.35);
}

.cx-topnav__mob-langrow .cx-topnav__lang { margin: 6px 12px 0; }

/* Legacy bottom-left language switcher — kept hidden */
#cx-lang-switch,
.cx-lang-switch { display: none !important; }

/* ═══════════════════════════════════════════════════════
   SHOWCASE DROPDOWN — animated demo cards
   ═══════════════════════════════════════════════════════ */
.cx-topnav__dropdown--showcase {
    display: flex !important;
    width: 960px;
    gap: 16px;
    padding: 20px;
    grid-template-columns: unset;
}

/* ── Intro sidebar ── */
.cx-sc-intro {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 8px;
}
.cx-sc-tag {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif;
}
.cx-sc-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 12px;
    font-family: 'Jost', 'Century Gothic', sans-serif;
}
.cx-sc-desc {
    font-size: 11.5px;
    color: rgba(255,255,255,0.48);
    line-height: 1.65;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.cx-sc-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    align-self: flex-start;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    box-shadow: 0 4px 18px rgba(10,132,255,0.38);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.cx-sc-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(10,132,255,0.6);
}

/* ── 3-card demos grid ── */
.cx-sc-demos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    min-width: 0;
}

/* ── Base card ── */
.cx-sc-card {
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.cx-sc-card:hover {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.045);
}

/* ── Card top bar (traffic light + label) ── */
.cx-sc-card-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.12);
}
.cx-sc-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,55,95,0.65);
    flex-shrink: 0;
}
.cx-sc-dot--y { background: rgba(255,214,10,0.65); }
.cx-sc-dot--g { background: rgba(48,209,88,0.65); }
.cx-sc-card-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    margin-left: 4px;
    flex: 1;
    font-family: 'Jost', sans-serif;
}
.cx-sc-card-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Jost', monospace;
}
.cx-sc-badge--purple { background: rgba(191,90,242,0.14); color: #bf5af2; border: 1px solid rgba(191,90,242,0.24); }
.cx-sc-badge--green  { background: rgba(48,209,88,0.12);  color: #30d158; border: 1px solid rgba(48,209,88,0.22); }
.cx-sc-badge--blue   { background: rgba(10,132,255,0.12); color: #0a84ff; border: 1px solid rgba(10,132,255,0.22); }
.cx-sc-live-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #30d158;
    display: inline-block;
    animation: livePulse 1.4s ease-in-out infinite;
}
.cx-sc-card-body {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
}

/* ═══ CARD 1 — Image Generation (default: hidden, no animation) ═══ */
.cx-sc-prompt-row {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.04);
    border-radius: 7px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,0.07);
    min-height: 28px;
    overflow: hidden;
}
.cx-sc-spark { color: #bf5af2; font-size: 11px; flex-shrink: 0; }
.cx-sc-prompt-txt {
    font-size: 10.5px;
    color: rgba(255,255,255,0.72);
    font-family: 'Plus Jakarta Sans', monospace;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    /* default hidden state — no animation */
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}
.cx-sc-cursor {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
    animation: scBlink 2s step-end infinite;
}
@keyframes scBlink { 50% { opacity: 0; } }

.cx-sc-canvas {
    flex: 1;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    min-height: 72px;
}
.cx-sc-canvas-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg,
        rgba(191,90,242,0.55) 0%,
        rgba(10,132,255,0.50) 35%,
        rgba(48,209,88,0.22) 65%,
        rgba(255,159,10,0.32) 100%);
    transform-origin: top center;
    /* default hidden */
    opacity: 0;
    transform: scaleY(0);
}
.cx-sc-canvas-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 8px;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    /* default hidden */
    opacity: 0;
    transform: translateY(4px);
}
.cx-sc-canvas-tag {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(48,209,88,0.18);
    border: 1px solid rgba(48,209,88,0.3);
    border-radius: 4px;
    padding: 2px 7px;
    font-family: 'Jost', monospace;
    letter-spacing: 0.04em;
}

/* ═══ CARD 2 — Psychology AI (default: hidden) ═══ */
.cx-sc-bubble {
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 10.5px;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* default hidden */
    opacity: 0;
    transform: translateY(8px);
}
.cx-sc-bubble--user {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.09);
    align-self: flex-end;
    max-width: 90%;
}
.cx-sc-bubble--ai {
    background: rgba(48,209,88,0.08);
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(48,209,88,0.16);
    align-self: flex-start;
}
.cx-sc-typing {
    display: flex;
    gap: 4px;
    padding: 8px 10px;
    align-self: flex-start;
    /* default hidden */
    opacity: 0;
}
.cx-sc-typing span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(48,209,88,0.5);
    animation: scDotBounce 0.6s ease-in-out infinite alternate;
}
.cx-sc-typing span:nth-child(2) { animation-delay: 0.15s; }
.cx-sc-typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes scDotBounce { to { transform: translateY(-4px); background: #30d158; } }

/* ═══ CARD 3 — Format Converter (default: hidden) ═══ */
.cx-sc-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}
.cx-sc-file--src {
    opacity: 0;
    transform: translateX(-10px);
}
.cx-sc-file--dst {
    opacity: 0;
    transform: translateX(10px);
}
.cx-sc-file-ext {
    width: 32px; height: 32px;
    border-radius: 7px;
    background: rgba(255,159,10,0.12);
    border: 1px solid rgba(255,159,10,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 8.5px; font-weight: 800; color: #ff9f0a;
    letter-spacing: 0.04em; font-family: 'Jost', monospace; flex-shrink: 0;
}
.cx-sc-file-ext--blue { background: rgba(10,132,255,0.12); border-color: rgba(10,132,255,0.22); color: #0a84ff; }
.cx-sc-file-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cx-sc-file-info b { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.82); font-family: 'Plus Jakarta Sans', monospace; }
.cx-sc-file-info span { font-size: 9.5px; color: rgba(255,255,255,0.38); font-family: monospace; }
.cx-sc-check {
    font-size: 14px; color: #30d158; font-weight: 800;
    /* default hidden */
    opacity: 0; transform: scale(0.4);
}
.cx-sc-arrow-track {
    display: flex; flex-direction: column;
    align-items: stretch; gap: 4px; padding: 0 6px;
    /* default hidden */
    opacity: 0;
}
.cx-sc-progress {
    height: 3px; border-radius: 2px;
    background: rgba(255,255,255,0.08); overflow: hidden;
}
.cx-sc-progress-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, #0a84ff, #bf5af2);
    width: 0;
}
.cx-sc-arrow-svg {
    width: 48px; height: 12px;
    color: rgba(10,132,255,0.55); stroke-width: 1.8; align-self: center;
}

/* ═══════════════════════════════════════════
   ONE-SHOT KEYFRAMES (play once, hold final state)
   ═══════════════════════════════════════════ */
@keyframes scCardIn {
    from { transform: translateY(-10px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0)     scale(1);    opacity: 1; }
}
@keyframes scTypingOnce {
    from { clip-path: inset(0 100% 0 0); opacity: 0; }
    8%   { opacity: 1; }
    to   { clip-path: inset(0   0% 0 0); opacity: 1; }
}
@keyframes scScanOnce {
    from { transform: scaleY(0); opacity: 0; }
    8%   { opacity: 1; }
    to   { transform: scaleY(1); opacity: 1; }
}
@keyframes scFadeSlideUp {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scBubbleIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scTypingDotsOnce {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes scSlideInLeft {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scSlideInRight {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scProgressFillOnce {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes scCheckBounce {
    0%   { opacity: 0; transform: scale(0.3); }
    55%  { transform: scale(1.25); opacity: 1; }
    75%  { transform: scale(0.92); }
    100% { transform: scale(1);    opacity: 1; }
}

/* ═══════════════════════════════════════════
   SHOWCASE ANIMATIONS — only fire when dropdown is OPEN
   All delays start ≥ 0.55s so card entrance (0.5s) completes first
   ═══════════════════════════════════════════ */

/* Card slide-in entrance (transform + opacity, no compositing conflicts) */
.cx-topnav__item.is-active .cx-topnav__dropdown--showcase .cx-sc-card {
    animation: scCardIn 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.cx-topnav__item.is-active .cx-topnav__dropdown--showcase .cx-sc-card:nth-child(2) { animation-delay: 35ms; }
.cx-topnav__item.is-active .cx-topnav__dropdown--showcase .cx-sc-card:nth-child(3) { animation-delay: 70ms; }

/* ── Card 1: Image Generation ── */
.cx-topnav__item.is-active .cx-sc-prompt-txt {
    animation: scTypingOnce 1.4s cubic-bezier(0.4,0,0.2,1) 0.35s both;
}
.cx-topnav__item.is-active .cx-sc-canvas-scan {
    animation: scScanOnce 1.0s cubic-bezier(0.4,0,0.2,1) 1.3s both;
}
.cx-topnav__item.is-active .cx-sc-canvas-overlay {
    animation: scFadeSlideUp 0.35s ease 2.2s both;
}

/* ── Card 2: Psychology AI ── */
.cx-topnav__item.is-active .cx-sc-bubble--user {
    animation: scBubbleIn 0.3s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}
.cx-topnav__item.is-active .cx-sc-typing {
    animation: scTypingDotsOnce 1.0s ease 0.85s both;
}
.cx-topnav__item.is-active .cx-sc-bubble--ai {
    animation: scBubbleIn 0.3s cubic-bezier(0.22,1,0.36,1) 1.75s both;
}

/* ── Card 3: Format Converter ── */
.cx-topnav__item.is-active .cx-sc-file--src {
    animation: scSlideInLeft 0.3s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}
.cx-topnav__item.is-active .cx-sc-arrow-track {
    animation: scFadeIn 0.25s ease 0.8s both;
}
.cx-topnav__item.is-active .cx-sc-progress-fill {
    animation: scProgressFillOnce 1.0s cubic-bezier(0.4,0,0.2,1) 0.8s both;
}
.cx-topnav__item.is-active .cx-sc-file--dst {
    animation: scSlideInRight 0.3s cubic-bezier(0.22,1,0.36,1) 1.75s both;
}
.cx-topnav__item.is-active .cx-sc-check {
    animation: scCheckBounce 0.3s cubic-bezier(0.34,1.56,0.64,1) 2.1s both;
}

/* ═══════════════════════════════════════════
   APP MODE — hide navbar when inside MultiAI workspace
   ═══════════════════════════════════════════ */
.cx-topnav {
    transition:
        transform 0.35s cubic-bezier(0.22,1,0.36,1),
        opacity   0.25s ease;
}
body.cx-app-mode .cx-topnav {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Go to Home chip — fixed top-right, visible only in app mode */
.cx-home-chip {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 999994;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 10px;
    border-radius: 22px;
    background: rgba(10,10,16,0.88);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: background 0.2s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
body.cx-app-mode .cx-home-chip {
    display: flex;
}
.cx-home-chip:hover {
    background: rgba(10,132,255,0.22);
    transform: translateY(-1px);
}
.cx-home-chip svg {
    width: 14px; height: 14px;
    fill: none;
    stroke: rgba(255,255,255,0.75);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
