/* AI Studio navigation: shared components, then responsive/state overrides. */
.ais-feature-header { position:relative; gap:28px; }
.ais-feature-header .ais-brand-logo { width:190px; }
.ais-feature-nav { --nav-text:#f1f5fc; --nav-muted:#aab5c9; --nav-description:#8e98a8; --nav-accent:#c6a3ff; --nav-soft:#202b40; color:var(--nav-text); }
.ais-feature-nav--desktop { display:flex; align-items:center; margin-left:auto; gap:30px; min-width:max-content; }
.ais-feature-nav .ais-feature-trigger,
.ais-feature-nav .ais-feature-pricing { position:relative; display:flex; align-items:center; justify-content:space-between; gap:7px; padding:12px 8px; border:0; border-radius:10px; background:transparent; color:#c5cee0; font:inherit; font-size:14px; line-height:1.3; text-decoration:none; white-space:nowrap; cursor:pointer; transition:color .16s,background-color .16s,box-shadow .16s; }
.ais-feature-nav .ais-feature-trigger:hover,.ais-feature-nav .ais-feature-pricing:hover { color:#fff; background:rgba(190,202,232,.07); }
.ais-feature-nav .ais-feature-trigger[aria-expanded="true"] { color:#fff; background:rgba(189,161,255,.12); box-shadow:inset 0 0 0 1px rgba(189,161,255,.18); }
.ais-feature-nav .ais-feature-trigger:focus:not(:focus-visible) { outline:none; }
.ais-feature-nav button:focus-visible,.ais-feature-nav a:focus-visible { outline:2px solid var(--nav-accent); outline-offset:3px; }
.ais-feature-nav--desktop .ais-feature-trigger::after { content:""; position:absolute; bottom:4px; left:12px; right:12px; height:2px; border-radius:2px; background:var(--nav-accent); transform:scaleX(0); transition:transform .16s; }
.ais-feature-nav--desktop .ais-feature-trigger[aria-expanded="true"]::after { transform:scaleX(1); }
.ais-feature-chevron { width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; flex:none; transition:transform .16s,opacity .16s; }
.ais-feature-trigger[aria-expanded="true"] .ais-feature-chevron { transform:rotate(225deg); margin-top:3px; }
/* Keep the arrow space reserved so labels do not move on hover. */
.ais-feature-nav--desktop .ais-feature-chevron { opacity:0; }
.ais-feature-nav--desktop .ais-feature-trigger:hover .ais-feature-chevron,
.ais-feature-nav--desktop .ais-feature-trigger:focus-visible .ais-feature-chevron,
.ais-feature-nav--desktop .ais-feature-trigger[aria-expanded="true"] .ais-feature-chevron { opacity:1; }
.ais-feature-nav .ais-feature-panel { box-sizing:border-box; position:absolute; top:calc(100% + 8px); left:0; right:0; padding:18px 24px; border:1px solid #45516a; border-radius:16px; background:#1b2535; box-shadow:0 24px 64px rgba(0,0,0,.48),0 3px 10px rgba(0,0,0,.25); color:var(--nav-text); max-height:calc(100dvh - 116px); overflow-y:auto; overscroll-behavior:contain; }
.ais-feature-nav [hidden] { display:none !important; }
.ais-feature-content { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:28px; }
.ais-feature-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-content:start; }
.ais-feature-group,.ais-feature-link-copy,.ais-feature-recommendations { min-width:0; }
.ais-feature-nav .ais-feature-heading,.ais-feature-nav .ais-feature-recommendation-title { margin:0 0 10px; font-size:12px; line-height:18px; font-weight:600; letter-spacing:.04em; color:var(--nav-muted); }
.ais-feature-nav .ais-feature-recommendation-title { color:var(--nav-accent); }
.ais-feature-nav .ais-feature-link { display:flex; align-items:center; gap:10px; min-height:40px; margin:0 -8px; padding:4px 8px; border-radius:8px; color:var(--nav-text); text-decoration:none; white-space:normal; }
.ais-feature-nav .ais-feature-link:hover,.ais-feature-nav .ais-feature-link[aria-current="page"] { background:var(--nav-soft); color:#fff; }
.ais-feature-name { display:block; font-size:14px; font-weight:500; line-height:20px; }
.ais-feature-outbound { display:inline-flex; vertical-align:baseline; margin-left:4px; color:var(--nav-accent); }
.ais-feature-outbound svg { display:block; width:12px; height:12px; }
.ais-feature-menu-icon { display:flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; border-radius:8px; color:var(--nav-accent); background:var(--nav-soft); }
.ais-feature-menu-icon svg { display:block; width:18px; height:18px; flex:none; }
.ais-feature-nav .ais-feature-promo { display:flex; min-height:116px; overflow:hidden; margin-top:12px; border:1px solid #2b3850; border-radius:12px; background:#090f1b; color:var(--nav-text); text-decoration:none; white-space:normal; transition:border-color .15s; }
.ais-feature-nav .ais-feature-promo:hover,.ais-feature-nav .ais-feature-promo[aria-current="page"] { border-color:var(--nav-accent); }
.ais-feature-art { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; width:34%; flex:none; overflow:hidden; color:var(--nav-accent); background:radial-gradient(ellipse at center,rgba(126,74,213,.18),transparent 80%); }
.ais-feature-art > img,.ais-feature-art > video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 36%; }
.ais-feature-preview { opacity:0; pointer-events:none; transition:opacity .2s; }
.ais-feature-preview.is-playing { opacity:1; }
.ais-feature-art svg { display:block; width:32px; height:32px; flex:none; }
.ais-feature-art--wave svg { width:64px; height:64px; }
.ais-feature-art--guide svg { width:42px; height:42px; }
.ais-feature-promo-copy { display:flex; flex:1; flex-direction:column; justify-content:center; gap:6px; min-width:0; padding:13px; }
.ais-feature-promo-copy strong { font-size:14px; font-weight:600; line-height:1.4; }
.ais-feature-promo-copy > span { color:var(--nav-description); font-weight:400; font-size:12px; line-height:1.5; }
.ais-feature-promo-copy small { color:var(--nav-accent); font-size:11px; line-height:1.5; }
.ais-feature-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:15px; margin-top:14px; padding-top:14px; border-top:1px solid #3a465e; }
.ais-feature-nav .ais-feature-bottom a { color:#b6cbff; text-decoration:none; font-size:13px; line-height:1.5; }
.ais-feature-nav .ais-feature-bottom a:hover { color:#fff; }
.ais-header-actions.ais-feature-actions { margin-left:0; flex:none; }
.ais-feature-actions .bdc-btn { white-space:nowrap; }
.ais-feature-nav--mobile { display:none; }
/* A single persistent surface/backdrop prevents flashes between categories. */
.ais-feature-surface { position:absolute; z-index:1; top:calc(100% + 8px); left:0; right:0; border:1px solid #45516a; border-radius:16px; background:#1b2535; box-shadow:0 24px 64px rgba(0,0,0,.48),0 3px 10px rgba(0,0,0,.25); opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .14s,transform .17s,height .14s; }
.ais-feature-surface.is-open { opacity:1; transform:translateY(0); }
.ais-feature-backdrop { position:fixed; z-index:1046; inset:100px 0 0; background:rgba(0,0,0,.45); opacity:0; pointer-events:none; transition:opacity .15s; }
.ais-feature-backdrop.is-open { opacity:1; pointer-events:auto; }
@media(min-width:992px) {
    /* Reserve the sticky header offset even while body styles are still loading. */
    .ais-page-shell { min-height:100px; }
    .ais-feature-nav--desktop .ais-feature-panel { z-index:3; }
    .ais-feature-nav--desktop .ais-feature-body { min-height:270px; }
    .ais-feature-nav--desktop .ais-feature-panel.is-exiting { z-index:2; pointer-events:none; }
    .ais-feature-layered .ais-feature-panel { background:transparent; border-color:transparent; box-shadow:none; }
    .ais-feature-nav--desktop .ais-feature-trigger { z-index:4; }
    .ais-feature-nav--desktop .ais-feature-link:hover,.ais-feature-nav--desktop .ais-feature-link[aria-current="page"] { background:#2a364b; }
}
@media(min-width:992px) and (max-width:1399px) {
    .ais-feature-header { gap:16px; }
    .ais-feature-nav--desktop { gap:14px; }
    .ais-feature-header .ais-brand-logo { width:170px; }
    .ais-feature-nav .ais-feature-trigger,.ais-feature-nav .ais-feature-pricing { padding:12px 5px; font-size:13px; gap:6px; }
    .ais-feature-actions .bdc-btn { padding-left:13px; padding-right:13px; font-size:13px; }
}
@media(min-width:992px) and (max-width:1199px) {
    .ais-feature-header { gap:12px; }
    .ais-feature-nav--desktop { gap:6px; }
    .ais-feature-header .ais-brand-logo { width:150px; }
    .ais-feature-actions .bdc-btn { padding-left:10px; padding-right:10px; }
}
@media(max-width:991px) {
    #header.SiteHeader .ais-feature-nav--mobile { display:block; padding:12px 0 20px; border-top:1px solid #2b3850; }
    #header.SiteHeader .ais-feature-nav .ais-feature-trigger,#header.SiteHeader .ais-feature-nav .ais-feature-pricing { width:100%; min-height:48px; padding:14px 20px; border-radius:0; font-size:16px; }
    #header.SiteHeader .ais-feature-nav .ais-feature-panel { position:static; max-height:none; overflow:visible; padding:16px 20px; border:0; border-radius:0; box-shadow:none; background:#111a29; }
    #header.SiteHeader .ais-feature-content { grid-template-columns:1fr; gap:24px; }
    #header.SiteHeader .ais-feature-columns { grid-template-columns:1fr; gap:22px; }
    #header.SiteHeader .ais-feature-art { width:32%; gap:4px; }
    #header.SiteHeader .ais-feature-art svg { width:24px; height:24px; }
    #header.SiteHeader .ais-feature-art--wave svg { width:48px; height:48px; }
    #header.SiteHeader .ais-feature-promo-copy { padding:12px; }
    #header.SiteHeader .ais-feature-nav .ais-feature-link { min-height:44px; padding:6px 8px; margin-bottom:0; }
    #header.SiteHeader .ais-feature-nav .ais-feature-mobile-start { display:flex; margin:16px 20px 0; width:auto; min-height:44px; justify-content:center; color:#fff; }
    #header.SiteHeader .ais-feature-bottom { flex-direction:column; gap:14px; }
    #header.SiteHeader .ais-feature-bottom a { display:block; padding:8px 0; min-height:36px; }
    .ais-feature-backdrop,.ais-feature-surface { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    .ais-feature-nav .ais-feature-trigger,.ais-feature-nav .ais-feature-pricing,.ais-feature-nav .ais-feature-chevron,.ais-feature-nav .ais-feature-trigger::after,.ais-feature-nav .ais-feature-promo,.ais-feature-surface,.ais-feature-backdrop { transition:none; }
}

/* Shared multilingual navigation: long labels and right-to-left reading order. */
.ais-feature-nav[dir="rtl"] .ais-feature-promo-copy { text-align:right; }
.ais-feature-nav[dir="rtl"] .ais-feature-heading { text-align:right; }
.ais-feature-nav--desktop .ais-feature-trigger { text-align:start; }

@media(min-width:1400px) and (max-width:1599px) {
    .ais-feature-nav--desktop[dir="rtl"] { gap:14px; }
}
