* { box-sizing: border-box; }
html { scroll-behavior: auto; }
:root {
scroll-padding-top: 80px;
--bg-body: #fcfdfe;
--bg-surface: #ffffff;
--bg-surface-soft: #f8fafc;
--bg-muted: #f1f5f9;
--bg-contrast: #020617;
--faq-section-bg: #f8fafc;
--faq-section-border: #f1f5f9;
--text-main: #1e293b;
--text-strong: #0f172a;
--text-muted: #64748b;
--text-faint: #94a3b8;
--border-color: #e2e8f0;
--border-strong: #cbd5e1;
--nav-bg: rgba(255, 255, 255, 0.8);
--nav-border: rgba(226, 232, 240, 0.8);
--grid-dot: #e2e8f0;
--tab-bar-bg: rgba(15, 23, 42, 0.95);
--tab-bar-border: rgba(255,255,255,.1);
--tab-item-active: #ffffff;
--btn-secondary-hover: #f8fafc;
--hero-badge-bg: #eef2ff;
--hero-badge-border: #e0e7ff;
--hero-badge-text: #4f46e5;
--shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.08);
--shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
}

html.lang-loading [data-lang-key] {
visibility: hidden;
}

html.dark-theme,body.dark-theme {
--bg-body: #020617;
--bg-surface: #0f172a;
--bg-surface-soft: #111827;
--bg-muted: #172036;
--bg-contrast: #020617;
--faq-section-bg: #081121;
--faq-section-border: rgba(148, 163, 184, 0.1);
--text-main: #e2e8f0;
--text-strong: #f8fafc;
--text-muted: #94a3b8;
--text-faint: #64748b;
--border-color: rgba(148, 163, 184, 0.16);
--border-strong: rgba(148, 163, 184, 0.28);
--nav-bg: rgba(2, 6, 23, 0.82);
--nav-border: rgba(148, 163, 184, 0.14);
--grid-dot: rgba(148, 163, 184, 0.14);
--tab-bar-bg: rgba(2, 6, 23, 0.92);
--tab-bar-border: rgba(148, 163, 184, 0.16);
--tab-item-active: #f8fafc;
--btn-secondary-hover: #162033;
--hero-badge-bg: rgba(79, 70, 229, .12);
--hero-badge-border: rgba(129, 140, 248, .2);
--hero-badge-text: #a5b4fc;
--shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
--shadow-card: 0 18px 45px rgba(0, 0, 0, 0.32);
}

body {
margin: 0;
font-family: 'Plus Jakarta Sans', sans-serif;
background: var(--bg-body);
color: var(--text-main);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

a, button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }

button {
border: 0;
background: none;
font: inherit;
cursor: pointer;
}

.container, .container-wide, .container-narrow {
width: 100%;
margin: 0 auto;
padding-left: 16px;
padding-right: 16px;
}

.container-wide { max-width: 1328px; }
.container { max-width: 1248px; }
.container-narrow { max-width: 928px; }

.section {padding: 64px 28px;}

.section-title {
margin: 0 0 16px;
color: var(--text-strong);
font-size: 30px;
line-height: 1.1;
font-weight: 800;
letter-spacing: -0.04em;
}

.section-title.center,
.section-subtitle.center,
.section-head.center { text-align: center; }

.section-subtitle {
margin: 0;
color: var(--text-muted);
font-size: 18px;
line-height: 1.6;
font-weight: 500;
}

.section-head { margin-bottom: 48px; }

.gradient-text {
background: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #ec4899 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}

.nav-glass {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
height: 64px;
display: flex;
align-items: center;
background: var(--nav-bg);
backdrop-filter: saturate(180%) blur(20px);
-webkit-backdrop-filter: saturate(180%) blur(20px);
border-bottom: 1px solid var(--nav-border);
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}

.brand {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: inherit;
}

.brand-icon {
width: 32px;
height: 32px;
border-radius: 12px;
background: #4f46e5;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

.brand-title {
font-weight: 800;
font-size: 20px;
line-height: 1;
letter-spacing: -0.05em;
}

.brand-title .accent { color: var(--hero-badge-text); }

.desktop-nav {
display: none;
align-items: center;
gap: 40px;
color: var(--text-faint);
font-size: 11px;
line-height: 1;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.2em;
}

.desktop-nav a,
.footer-links a {
color: inherit;
text-decoration: none;
transition: color .2s ease;
}

.desktop-nav a:hover,
.footer-links a:hover { color: var(--hero-badge-text); }

.lang-pill {
background: var(--bg-muted);
padding: 4px;
border-radius: 999px;
display: inline-flex;
gap: 2px;
}

.lang-pill-btn {
padding: 6px 10px;
border-radius: 999px;
font-size: 10px;
line-height: 1;
font-weight: 800;
color: var(--text-muted);
transition: all .2s ease;
}

.lang-pill-btn.active {
background: var(--bg-surface);
color: var(--hero-badge-text);
box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.theme-toggle {
width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: var(--bg-surface);
color: var(--text-main);
border: 1px solid var(--border-color);
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
transition: all .25s ease;
}

.theme-toggle:hover {
transform: translateY(-1px);
border-color: var(--border-strong);
}

.theme-toggle svg {
width: 16px;
height: 16px;
}

.theme-toggle .icon-sun { display: none; }
body.dark-theme .theme-toggle .icon-sun { display: block; }
body.dark-theme .theme-toggle .icon-moon { display: none; }

body.dark-theme .lang-pill-btn.active {
box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

body.dark-theme .hero-glow {
background: rgba(79, 70, 229, .18);
}

body.dark-theme .desktop-nav a:hover,
body.dark-theme .footer-links a:hover { color: #818cf8; }

body.dark-theme .premium-card,
body.dark-theme .faq-item,
body.dark-theme .price-card,
body.dark-theme .stat-card,
body.dark-theme .step-card {
background: var(--bg-surface);
border-color: var(--border-color);
box-shadow: var(--shadow-card);
}

body.dark-theme .footer {
border-top-color: var(--border-color);
background: rgba(15, 23, 42, 0.45);
}

.mobile-tab-bar .js-theme-toggle .icon-sun { display: none; }
body.dark-theme .mobile-tab-bar .js-theme-toggle .icon-sun { display: block !important; }
body.dark-theme .mobile-tab-bar .js-theme-toggle .icon-moon { display: none; }
body.dark-theme .feature-icon.indigo { background: rgba(79,70,229,.14); border-color: rgba(129,140,248,.22); color: #a5b4fc; }
body.dark-theme .feature-icon.pink { background: rgba(219,39,119,.12); border-color: rgba(244,114,182,.22); color: #f9a8d4; }
body.dark-theme .feature-icon.green { background: rgba(5,150,105,.12); border-color: rgba(52,211,153,.22); color: #6ee7b7; }
body.dark-theme .btn-primary {box-shadow: 0 20px 40px rgba(79, 70, 229, .28);}
body.dark-theme .price-list.bold { color: #cbd5e1; }
body.dark-theme .top-badge { background: #6366f1; }

.mobile-tab-bar {
position: fixed;
left: 50%;
bottom: 20px;
transform: translateX(-50%);
width: calc(100% - 32px);
max-width: 440px;
padding: 12px 8px;
border-radius: 24px;
display: flex;
justify-content: space-around;
z-index: 1000;
background: var(--tab-bar-bg);
backdrop-filter: blur(16px);
border: 1px solid var(--tab-bar-border);
box-shadow: var(--shadow-soft);
}

.tab-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
min-width: 56px;
color: var(--text-faint);
text-decoration: none;
font-size: 9px;
line-height: 1.1;
font-weight: 700;
transition: all .3s ease;
}

.tab-item.active { color: var(--tab-item-active); }
.tab-item .icon-star { color: #818cf8; }

.hero {
position: relative;
padding: 128px 0 80px;
overflow: hidden;
}

.bg-grid {
background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
background-size: 40px 40px;
}

.hero-glow {
position: absolute;
top: 80px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 300px;
border-radius: 999px;
background: rgba(224, 231, 255, .3);
filter: blur(80px);
z-index: -1;
}

.hero-inner { text-align: center; }

.hero-badge {
display: inline-flex;
align-items: center;
padding: 6px 12px;
margin-bottom: 24px;
border: 1px solid var(--hero-badge-border);
border-radius: 999px;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
font-size: 9px;
line-height: 1.2;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .2em;
}

.hero-title {
margin: 0 0 24px;
color: var(--text-strong);
font-size: 40px;
line-height: 1.1;
font-weight: 800;
letter-spacing: -0.05em;
}

.hero-desc {
max-width: 672px;
margin: 0 auto 40px;
color: var(--text-muted);
font-size: 16px;
line-height: 1.75;
font-weight: 500;
}

.hero-actions {
display: flex;
flex-direction: column;
gap: 16px;
padding: 0 16px;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 32px;
border-radius: 16px;
font-size: 16px;
line-height: 1.2;
font-weight: 700;
text-align: center;
text-decoration: none;
transition: background .2s ease, border-color .2s ease, transform .15s ease, color .2s ease, box-shadow .2s ease;
}

.btn:active { transform: scale(.95); }

.btn-primary {
background: #4f46e5;
color: #fff;
box-shadow: 0 20px 40px rgba(199, 210, 254, .4);
}

.btn-primary:hover { background: #4338ca; }

.btn-secondary {
background: var(--bg-surface);
color: var(--text-strong);
border: 1px solid var(--border-color);
box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.btn-secondary:hover { background: var(--btn-secondary-hover); }

.btn-outline {
background: var(--bg-surface);
color: var(--text-strong);
border: 1px solid var(--border-color);
}

.btn-outline:hover { background: var(--btn-secondary-hover); }

.section-features .section-head {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 48px;
}

.section-line {
width: 48px;
height: 6px;
border-radius: 999px;
background: #4f46e5;
}

.card-grid,
.price-grid {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
}

.premium-card {
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: 32px;
transition: all .4s cubic-bezier(.23,1,.32,1);
}

.feature-card { padding: 32px; }

.feature-icon {
width: 48px;
height: 48px;
margin-bottom: 24px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid transparent;
}

.feature-icon.indigo { background: var(--hero-badge-bg); color: var(--hero-badge-text); border-color: #e0e7ff; }
.feature-icon.pink { background: #fdf2f8; color: #db2777; border-color: #fbcfe8; }
.feature-icon.green { background: #ecfdf5; color: #059669; border-color: #d1fae5; }

.feature-title {
margin: 0 0 12px;
color: var(--text-strong);
font-size: 20px;
line-height: 1.2;
font-weight: 800;
}

.feature-text {
margin: 0;
color: var(--text-muted);
font-size: 14px;
line-height: 1.75;
font-weight: 500;
}

.how-section { padding-top: 48px; padding-bottom: 48px; }

.how-wrap {
position: relative;
overflow: hidden;
padding: 32px;
border-radius: 40px;
background: var(--bg-contrast);
color: #fff;
}

.how-glow {
position: absolute;
right: -80px;
bottom: -80px;
width: 256px;
height: 256px;
border-radius: 999px;
background: rgba(79, 70, 229, .2);
filter: blur(80px);
}

.how-grid {
position: relative;
display: grid;
grid-template-columns: 1fr;
gap: 48px;
align-items: center;
}

.how-title {
margin: 0 0 32px;
font-size: 30px;
line-height: 1.15;
font-weight: 800;
letter-spacing: -0.04em;
}

.steps { display: grid; gap: 32px; }

.step {
display: flex;
align-items: flex-start;
gap: 16px;
}

.step-num {
flex: 0 0 auto;
width: 40px;
height: 40px;
border-radius: 999px;
border: 1px solid rgba(99, 102, 241, .3);
display: flex;
align-items: center;
justify-content: center;
color: #818cf8;
font-size: 18px;
line-height: 1;
font-weight: 800;
transition: all .25s ease;
}

.step:hover .step-num {
background: #4f46e5;
color: #fff;
}

.step-title {
margin: 0 0 8px;
font-size: 18px;
line-height: 1.2;
font-weight: 700;
}

.step-text {
margin: 0;
color: var(--text-faint);
font-size: 14px;
line-height: 1.6;
}

.how-visual {
display: none;
position: relative;
}

.visual-shell {
width: 100%;
aspect-ratio: 1 / 1;
padding: 24px;
border-radius: 40px;
background: rgba(255,255,255,.05);
border: 1px solid var(--tab-bar-border);
transform: rotate(2deg);
}

.visual-inner {
width: 100%;
height: 100%;
padding: 32px;
border-radius: 30px;
background: #0f172a;
display: flex;
flex-direction: column;
gap: 24px;
}

.visual-row {
display: flex;
align-items: center;
gap: 16px;
}

.visual-avatar {
width: 40px;
height: 40px;
border-radius: 999px;
background: #4f46e5;
}

.visual-line {
width: 96px;
height: 8px;
border-radius: 999px;
background: #334155;
}

.visual-box-lg {
width: 75%;
height: 96px;
border-radius: 24px;
background: #1e293b;
}

.visual-box-sm {
width: 50%;
height: 40px;
margin-left: auto;
border-radius: 12px;
background: rgba(99, 102, 241, .2);
border: 1px solid rgba(99, 102, 241, .4);
}

.price-head { text-align: center; margin-bottom: 48px; }

.price-card { padding: 32px; }

.price-label {
margin-bottom: 24px;
color: var(--hero-badge-text);
font-size: 12px;
line-height: 1;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .08em;
}

.price-value {
margin-bottom: 24px;
color: var(--text-strong);
font-size: 48px;
line-height: 1;
font-weight: 800;
letter-spacing: -0.04em;
}

.price-value .muted {
font-size: 20px;
color: var(--text-faint);
font-weight: 500;
}

.price-list {
margin: 0 0 32px;
padding: 0;
list-style: none;
display: grid;
gap: 16px;
color: var(--text-muted);
font-size: 14px;
line-height: 1.5;
font-weight: 500;
}

.price-list.bold {
color: #475569;
font-weight: 700;
}

.line-through { text-decoration: line-through; opacity: .5; }

.featured-price-wrap {
position: relative;
padding: 4px;
border-radius: 36px;
background: linear-gradient(to bottom, #6366f1, #9333ea);
}

.featured-price {
height: 100%;
padding: 32px;
border-radius: 32px;
background: var(--bg-surface);
display: flex;
flex-direction: column;
}

.featured-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 24px;
}

.top-badge {
padding: 4px 12px;
border-radius: 999px;
background: #4f46e5;
color: #fff;
font-size: 10px;
line-height: 1;
font-weight: 800;
text-transform: uppercase;
}

.faq-section {
padding-bottom: 128px;
background: var(--faq-section-bg);
border-top: 1px solid var(--faq-section-border);
}

.faq-title {
margin: 0 0 40px;
text-align: center;
font-size: 30px;
line-height: 1.1;
font-weight: 800;
letter-spacing: -0.04em;
}

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

.faq-item {
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: 16px;
overflow: hidden;
transition: all .3s ease;
}

.faq-item summary {
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 24px;
cursor: pointer;
}

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

.faq-question {
color: var(--text-strong);
font-size: 16px;
line-height: 1.3;
font-weight: 700;
}

.faq-icon { transition: transform .3s ease; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
padding: 0 24px 24px;
color: var(--text-muted);
font-size: 14px;
line-height: 1.7;
font-weight: 500;
}

.footer {
padding: 64px 24px;
margin-bottom: 80px;
background: var(--bg-surface);
border-top: 1px solid var(--faq-section-border);
}

.footer-grid {
display: grid;
grid-template-columns: 1fr;
gap: 32px;
align-items: center;
text-align: center;
}

.footer-logo {
margin: 0 0 16px;
font-size: 32px;
line-height: 1;
font-weight: 800;
letter-spacing: -0.05em;
}

.footer-desc {
margin: 0;
color: var(--text-faint);
font-size: 14px;
line-height: 1.7;
font-weight: 500;
}

.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 24px;
color: var(--text-faint);
font-size: 10px;
line-height: 1.2;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .16em;
}

@media (min-width: 640px) {
.hero-actions {
flex-direction: row;
justify-content: center;
padding: 0;
}
.btn { width: auto; }
}

@media (min-width: 768px) {
:root { scroll-padding-top: 100px; }
.container, .container-wide, .container-narrow {
padding-left: 24px;
padding-right: 24px;
}
.nav-glass { height: 80px; }
.brand { gap: 12px; }
.brand-icon {
width: 40px;
height: 40px;
border-radius: 16px;
}
.brand-title { font-size: 32px; }
.section { padding: 128px 0; }
.section-title { font-size: 60px; margin-bottom: 24px; }
.section-subtitle { font-size: 20px; }
.hero {
padding-top: 176px;
padding-bottom: 128px;
}
.hero-glow {
width: 800px;
height: 400px;
filter: blur(120px);
}
.hero-badge {
padding: 8px 16px;
margin-bottom: 32px;
font-size: 10px;
}
.hero-title {
margin-bottom: 40px;
font-size: 96px;
line-height: .95;
}
.hero-desc {
margin-bottom: 56px;
font-size: 24px;
}
.btn {
min-height: 68px;
padding: 20px 40px;
border-radius: 16px;
font-size: 18px;
}
.section-features .section-head,
.price-head { margin-bottom: 96px; }
.section-line {
width: 64px;
height: 6px;
}
.card-grid,
.price-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 32px;
}
.feature-card,
.price-card,
.featured-price { padding: 40px; }
.premium-card { border-radius: 40px; }
.feature-icon {
width: 56px;
height: 56px;
margin-bottom: 32px;
border-radius: 16px;
}
.feature-title { font-size: 24px; margin-bottom: 20px; }
.feature-text,
.price-list,
.faq-answer,
.step-text,
.footer-desc { font-size: 16px; }
.how-section { padding-top: 80px; padding-bottom: 80px; }
.how-wrap {
padding: 96px;
border-radius: 60px;
}
.how-glow {
width: 384px;
height: 384px;
right: -80px;
bottom: -80px;
filter: blur(100px);
}
.how-grid { gap: 80px; }
.how-title { font-size: 56px; margin-bottom: 48px; }
.steps { gap: 48px; }
.step { gap: 32px; }
.step-num {
width: 48px;
height: 48px;
font-size: 20px;
}
.step-title { font-size: 20px; margin-bottom: 12px; }
.price-value { font-size: 60px; margin-bottom: 32px; }
.featured-price-wrap {
border-radius: 44px;
margin-top: -40px;
}
.featured-price { border-radius: 40px; }
.faq-section { padding-bottom: 128px; }
.faq-title { margin-bottom: 64px; font-size: 36px; }
.faq-list { gap: 16px; }
.faq-item { border-radius: 24px; }
.faq-item summary,
.faq-answer { padding-left: 32px; padding-right: 32px; }
.faq-item summary { padding-top: 32px; padding-bottom: 32px; }
.faq-answer { padding-bottom: 32px; }
.faq-question { font-size: 18px; }
.footer {
padding: 96px 24px;
margin-bottom: 0;
}
.footer-grid {
grid-template-columns: 1fr 1fr;
gap: 48px;
text-align: left;
}
.footer-links {
justify-content: flex-end;
gap: 40px;
font-size: 11px;
}
.footer-logo { margin-bottom: 24px; font-size: 48px; }
}

@media (min-width: 1024px) {
.desktop-nav { display: flex; }
.mobile-tab-bar { display: none; }
.how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.how-visual { display: block; }
.premium-card:hover {
transform: translateY(-8px);
box-shadow: 0 30px 60px -12px rgba(0,0,0,.08);
border-color: #c7d2fe;
}
}

.ob-page {
min-height: 100vh;
padding: 108px 16px 56px;
background:
radial-gradient(circle at 12% 12%, rgba(79, 70, 229, .07), transparent 360px),
radial-gradient(circle at 92% 22%, rgba(168, 85, 247, .055), transparent 340px),
var(--bg-body);
color: var(--text-main);
}

.ob-wrap {
width: 100%;
max-width: 1240px;
margin: 0 auto;
}

.ob-shell {
display: grid;
grid-template-columns: 260px minmax(0, 1fr);
gap: 22px;
align-items: start;
}

.ob-side,
.ob-card {
background: var(--bg-surface);
border: 1px solid var(--border-color);
box-shadow: var(--shadow-card);
}

.ob-side {
position: sticky;
top: 104px;
padding: 22px;
border-radius: 32px;
display: flex;
flex-direction: column;
min-height: 720px;
}

.ob-brand {
display: flex;
gap: 12px;
align-items: center;
margin-bottom: 18px;
}

.ob-brand-icon {
width: 44px;
height: 44px;
border-radius: 16px;
background: #4f46e5;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
}

.ob-brand-title {
color: var(--text-strong);
font-size: 18px;
line-height: 1.1;
font-weight: 800;
letter-spacing: -.04em;
}

.ob-brand-sub {
margin-top: 3px;
color: var(--text-faint);
font-size: 12px;
font-weight: 600;
}

.ob-progress {
height: 8px;
margin-bottom: 18px;
border-radius: 999px;
background: var(--bg-muted);
border: 1px solid var(--border-color);
}

.ob-progress-fill {
width: 10%;
height: 100%;
border-radius: inherit;
background: #4f46e5;
transition: width .25s ease;
}

.ob-step-list {
display: grid;
gap: 7px;
}

.ob-step-nav {
min-height: 39px;
padding: 9px 10px;
border-radius: 15px;
display: flex;
align-items: center;
gap: 10px;
color: var(--text-muted);
font-size: 13px;
font-weight: 600;
transition: .18s ease;
}

.ob-step-nav span {
width: 23px;
height: 23px;
border-radius: 999px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-faint);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 800;
}

.ob-step-nav.active {
color: var(--text-strong);
background: var(--bg-surface-soft);
}

.ob-step-nav.active span {
background: #4f46e5;
border-color: #4f46e5;
color: #fff;
}

.ob-side-note {
margin-top: auto;
padding: 16px;
border-radius: 22px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
}

.ob-side-note b {
display: block;
margin-bottom: 6px;
color: var(--text-strong);
font-size: 14px;
font-weight: 800;
}

.ob-side-note span {
color: var(--text-muted);
font-size: 12px;
line-height: 1.45;
font-weight: 500;
}

.ob-card {
min-height: 720px;
border-radius: 36px;
display: grid;
grid-template-rows: 1fr auto;
}

.ob-content {
padding: 34px;
}

.ob-step {
display: none;
min-height: 570px;
animation: obIn .22s ease both;
}

.ob-step.active {
display: grid;
grid-template-columns: minmax(0, 1fr) 310px;
gap: 30px;
align-items: stretch;
}

.ob-step.tariff-step.active {
display: block;
}

.ob-step[data-step="9"].active {
grid-template-columns: minmax(0, 1fr) 330px;
gap: 30px;
align-items: center;
}

.ob-step[data-step="9"] .ob-main {
justify-content: center;
}

.ob-step[data-step="9"] .ob-desc {
max-width: 620px;
margin-bottom: 22px;
}

@keyframes obIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.ob-main {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
}

.ob-kicker {
width: fit-content;
margin-bottom: 12px;
padding: 7px 12px;
border-radius: 999px;
background: var(--hero-badge-bg);
border: 1px solid var(--hero-badge-border);
color: var(--hero-badge-text);
font-size: 10px;
line-height: 1;
font-weight: 800;
letter-spacing: .12em;
text-transform: uppercase;
}

.ob-title {
max-width: 700px;
margin: 0 0 12px;
color: var(--text-strong);
font-size: 46px;
line-height: 1.02;
font-weight: 800;
letter-spacing: -.052em;
}

.ob-desc {
max-width: 720px;
margin: 0 0 26px;
color: var(--text-muted);
font-size: 16px;
line-height: 1.6;
font-weight: 500;
}

.ob-form {
display: grid;
gap: 16px;
max-width: 760px;
}

.ob-row { display: grid; gap: 16px; }

.ob-field label {
display: block;
margin-bottom: 8px;
color: var(--text-strong);
font-size: 13px;
font-weight: 700;
}

.ob-input,
.ob-textarea {
width: 100%;
height: 58px;
padding: 16px 17px;
border-radius: 18px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-strong);
font: inherit;
font-size: 15px;
font-weight: 500;
outline: none;
resize: none;
box-sizing: border-box;
transition: .2s ease;
}

.ob-textarea {
min-height: 138px;
max-height: 138px;
line-height: 1.5;
}

.ob-input:focus,
.ob-textarea:focus {
background: var(--bg-surface);
border-color: var(--border-strong);
box-shadow: 0 0 0 4px rgba(79, 70, 229, .08);
}

.ob-input::placeholder,
.ob-textarea::placeholder {
color: var(--text-faint);
font-weight: 400;
}

.ob-hint {
margin-top: 8px;
color: var(--text-faint);
font-size: 12px;
line-height: 1.45;
font-weight: 500;
}

.ob-visual {padding: 20px;border-radius: 30px;background: linear-gradient(180deg, var(--bg-surface-soft), var(--bg-surface));border: 1px solid var(--border-color);display: flex;flex-direction: column;justify-content: center;position: relative;margin-top: 20px;}

.ob-visual::before {
content: "";
position: absolute;
right: 18px;
top: 18px;
width: 70px;
height: 70px;
border-radius: 999px;
background: rgba(79, 70, 229, .10);
}

.visual-stack {
position: relative;
display: grid;
gap: 14px;
}

.visual-card {
padding: 16px;
border-radius: 22px;
background: var(--bg-surface);
border: 1px solid var(--border-color);
}

.visual-card:nth-child(2) {
margin-left: 22px;
}

.visual-card:nth-child(3) {
margin-left: 44px;
}

.visual-icon {
width: 38px;
height: 38px;
margin-bottom: 12px;
border-radius: 14px;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
}

.visual-title {
margin-bottom: 5px;
color: var(--text-strong);
font-size: 15px;
line-height: 1.2;
font-weight: 800;
}

.visual-text {
color: var(--text-muted);
font-size: 12px;
line-height: 1.45;
font-weight: 500;
}

.summary-card {
margin-top: 18px;
padding: 16px;
border-radius: 22px;
background: #4f46e5;
color: #fff;
}

.summary-card b {
display: block;
margin-bottom: 6px;
font-size: 14px;
font-weight: 800;
}

.summary-card span {
opacity: .84;
font-size: 12px;
line-height: 1.45;
font-weight: 500;
}

.ob-select {
position: relative;
width: 100%;
}

.ob-select-btn {
width: 100%;
height: 58px;
padding: 0 52px 0 17px;
border-radius: 18px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-strong);
font: inherit;
font-size: 15px;
font-weight: 500;
text-align: left;
display: flex;
align-items: center;
position: relative;
}

.ob-select-btn::after {
content: "";
position: absolute;
right: 20px;
top: 50%;
width: 10px;
height: 10px;
border-right: 2px solid var(--text-muted);
border-bottom: 2px solid var(--text-muted);
transform: translateY(-65%) rotate(45deg);
}

.ob-select.open .ob-select-btn {
background: var(--bg-surface);
border-color: var(--border-strong);
}

.ob-select.open .ob-select-btn::after {
transform: translateY(-35%) rotate(225deg);
}

.ob-select-menu {
position: absolute;
left: 0;
overflow: auto;
right: 0;
top: calc(100% + 8px);
z-index: 80;
display: none;
padding: 7px;
max-height: 240px;
border-radius: 20px;
background: var(--bg-surface);
border: 1px solid var(--border-color);
box-shadow: var(--shadow-card);
}

.ob-select-menu::-webkit-scrollbar {
display: none;
}

.ob-select.open .ob-select-menu {
display: block;
}

.ob-select-option {
min-height: 44px;
padding: 12px 13px;
border-radius: 14px;
color: var(--text-main);
font-size: 14px;
cursor: pointer;
}

.ob-select-option:hover,
.ob-select-option.active {
background: var(--bg-surface-soft);
color: var(--text-strong);
}

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

.mini-card {
min-height: 132px;
padding: 20px 16px;
border-radius: 24px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
}

.mini-icon {
width: 46px;
height: 46px;
margin-bottom: 14px;
border-radius: 16px;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
}

.mini-card b {
display: block;
margin-bottom: 5px;
color: var(--text-strong);
font-size: 15px;
font-weight: 800;
}

.mini-card span {
color: var(--text-muted);
font-size: 12px;
line-height: 1.4;
}

.check-list {
display: grid;
gap: 14px;
max-width: 680px;
width: 100%;
}

.check-item {
min-height: 64px;
padding: 16px 18px;
border-radius: 20px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-main);
display: flex;
align-items: center;
gap: 12px;
font-size: 15px;
font-weight: 600;
line-height: 1.35;
}

.check-item > span:first-child {
width: 30px;
height: 30px;
min-width: 30px;
border-radius: 999px;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 800;
line-height: 1;
}

.check-item > span:last-child {
width: auto;
height: auto;
min-width: 0;
background: transparent;
color: var(--text-main);
display: block;
font-weight: 600;
line-height: 1.35;
}

.tariff-card {
min-height: 420px;
padding: 32px;
border-radius: 34px;
background: var(--bg-surface);
border: 2px solid var(--border-color);
display: flex;
flex-direction: column;
cursor: pointer;
transition: .2s ease;
overflow: hidden;
}

.tariff-card.active {
border-color: #6d5dfc;
box-shadow: 0 18px 45px rgba(79, 70, 229, .12);
}

.tariff-content {
flex: 1 1 auto;
}

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

.tariff-name {
color: var(--hero-badge-text);
font-size: 12px;
letter-spacing: .1em;
text-transform: uppercase;
font-weight: 800;
}

.tariff-badge {
padding: 6px 11px;
border-radius: 999px;
background: #4f46e5;
color: #fff;
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
white-space: nowrap;
}

.tariff-price {
margin-bottom: 24px;
color: var(--text-strong);
font-size: 54px;
line-height: 1;
font-weight: 800;
letter-spacing: -.05em;
}

.tariff-price span {
color: var(--text-faint);
font-size: 15px;
font-weight: 600;
letter-spacing: 0;
}

.tariff-list {
display: grid;
gap: 14px;
margin: 0;
padding: 0;
list-style: none;
color: var(--text-muted);
font-size: 14px;
font-weight: 600;
line-height: 1.35;
}

.tariff-btn {
width: 100%;
min-height: 56px;
margin-top: 28px;
border-radius: 17px;
background: #4f46e5;
color: #fff;
font-size: 15px;
font-weight: 800;
white-space: normal;
line-height: 1.2;
padding-left: 12px;
padding-right: 12px;
}

.ob-actions {min-height: 86px;padding: 15px 30px;border-top: 1px solid var(--border-color);display: flex;align-items: center;justify-content: space-between;gap: 14px;}

.ob-actions-left,
.ob-actions-right {
display: flex;
align-items: center;
gap: 12px;
}

.ob-actions .btn {
width: auto;
min-width: 170px;
min-height: 56px;
border-radius: 17px;
font-size: 15px;
}

.ob-skip {
background: transparent;
color: var(--text-muted);
border: 1px solid var(--border-color);
box-shadow: none;
}

.ob-skip:hover {
color: var(--text-strong);
background: var(--btn-secondary-hover);
}

.hidden {
display: none !important;
}

@media (max-width: 900px) {
.ob-page {
padding: 84px 12px 18px;
}

.ob-shell {
display: block;
}

.ob-side {
display: none;
}

.ob-card {
min-height: calc(100dvh - 112px);
border-radius: 30px;
display: grid;
grid-template-rows: 1fr auto;
}

.ob-content {
padding: 18px;
}

.ob-step.active {
display: block;
}

.ob-step[data-step="9"].active {
display: block;
}

.ob-visual,
.summary-card,
.visual-stack,
.visual-card {
display: none !important;
}

.ob-kicker {
margin-bottom: 10px;
padding: 6px 10px;
font-size: 9px;
}

.ob-title {
font-size: 30px;
line-height: 1.06;
margin-bottom: 10px;
}

.ob-desc {
font-size: 14px;
line-height: 1.45;
margin-bottom: 16px;
}

.ob-form {
gap: 12px;
}

.ob-row {
grid-template-columns: 1fr;
gap: 12px;
}

.ob-field label {
margin-bottom: 7px;
font-size: 12px;
}

.ob-input,
.ob-select-btn {
height: 52px;
border-radius: 16px;
font-size: 14px;
}

.ob-textarea {
height: 104px;
min-height: 104px;
max-height: 104px;
resize: none;
border-radius: 16px;
font-size: 14px;
}

.ob-hint {
font-size: 11px;
margin-top: 6px;
}

.mini-grid {
grid-template-columns: 1fr;
gap: 10px;
}

.mini-card {
min-height: 0;
display: flex;
align-items: center;
gap: 13px;
padding: 14px;
border-radius: 20px;
}

.mini-icon {
width: 40px;
height: 40px;
margin: 0;
flex: 0 0 auto;
}

.mini-card b {
font-size: 14px;
margin-bottom: 2px;
}

.mini-card span {
font-size: 12px;
}

.check-list {
gap: 10px;
}

.check-item {
min-height: 54px;
padding: 13px 14px;
font-size: 13px;
border-radius: 17px;
align-items: flex-start;
}

.check-item > span:first-child {
width: 26px;
height: 26px;
min-width: 26px;
margin-top: 1px;
font-size: 12px;
}

.check-item > span:last-child {
font-size: 13px;
line-height: 1.35;
}

.tariff-head {
margin-bottom: 18px;
}

.tariff-grid {
grid-template-columns: 1fr;
gap: 12px;
}

.tariff-card {
min-height: auto;
padding: 18px;
border-radius: 22px;
overflow: visible;
}

.tariff-top {
margin-bottom: 10px;
}

.tariff-price {
font-size: 34px;
margin-bottom: 12px;
}

.tariff-list {
gap: 7px;
font-size: 12px;
}

.tariff-btn {
min-height: 48px;
margin-top: 14px;
border-radius: 15px;
font-size: 14px;
}

.ob-actions {
min-height: 92px;
padding: 12px;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
align-items: stretch;
}

.ob-actions-left,
.ob-actions-right {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}

.ob-actions.has-back {
grid-template-columns: 104px 1fr;
}

.ob-actions.has-back .ob-actions-left,
.ob-actions.has-back .ob-actions-right {
display: contents;
}

.ob-actions.has-skip {
grid-template-columns: 1fr 1fr;
}

.ob-actions.has-back.has-skip {
grid-template-columns: 88px 1fr 1fr;
}

.ob-actions .btn {
width: 100%;
min-width: 0;
min-height: 52px;
padding: 13px 10px;
border-radius: 15px;
font-size: 14px;
}
}

@media (min-width: 901px) and (max-width: 1120px) {
.ob-shell {
grid-template-columns: 240px minmax(0, 1fr);
}

.ob-step.active {
grid-template-columns: minmax(0, 1fr) 270px;
gap: 22px;
}

.ob-step.tariff-step.active {
display: block;
}

.ob-title {
font-size: 40px;
}

.tariff-grid {
gap: 16px;
}

.tariff-card {
padding: 24px;
min-height: 380px;
}

.tariff-price {
font-size: 42px;
}
}

.ob-step-nav > span:first-child {
width: 23px;
height: 23px;
min-width: 23px;
border-radius: 999px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-faint);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 800;
line-height: 1;
}

.ob-step-nav > span:not(:first-child) {
width: auto;
height: auto;
min-width: 0;
border: 0;
border-radius: 0;
background: transparent;
color: inherit;
display: block;
font-size: 13px;
font-weight: 700;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ob-step-nav.active > span:first-child {
background: #4f46e5;
border-color: #4f46e5;
color: #fff;
}

.ob-step-nav.active > span:not(:first-child) {
background: transparent;
border: 0;
color: var(--text-strong);
}

.ob-step-list {
gap: 8px;
}

.ob-step-nav {
position: relative;
width: 100%;
min-width: 0;
padding: 9px 10px;
display: flex;
align-items: center;
gap: 10px;
overflow: hidden;
}

.ob-step.tariff-step.active {
display: block;
min-height: 570px;
}

.ob-step.tariff-step .ob-main {
display: block;
justify-content: flex-start;
width: 100%;
min-width: 0;
}

.tariff-step .tariff-head {
margin-bottom: 24px;
}

.tariff-grid {
width: 100%;
padding: 2px;
align-items: stretch;
}

.tariff-card {min-width: 0;overflow: hidden;margin-top: 12px;}

.tariff-list li {
line-height: 1.35;
}

.tariff-btn {
white-space: normal;
line-height: 1.2;
padding-left: 12px;
padding-right: 12px;
}

.check-list {
display: grid;
gap: 14px;
max-width: 680px;
width: 100%;
}

.check-item {
min-height: 64px;
padding: 16px 18px;
border-radius: 20px;
background: var(--bg-surface-soft);
border: 1px solid var(--border-color);
color: var(--text-main);
display: flex;
align-items: center;
gap: 12px;
font-size: 15px;
font-weight: 600;
line-height: 1.35;
}

.check-item > span:first-child {
width: 30px;
height: 30px;
min-width: 30px;
border-radius: 999px;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 800;
line-height: 1;
}

.check-item > span:last-child {
width: auto;
height: auto;
min-width: 0;
background: transparent;
color: var(--text-main);
display: block;
font-weight: 600;
line-height: 1.35;
}

@media (max-width: 900px) {
.ob-step.tariff-step.active {
    display: block;
    min-height: 0;
}

.tariff-grid {
    padding: 0 1px 2px;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tariff-card {
    overflow: visible;
    padding: 18px;
}

.tariff-btn {
    min-height: 48px;
}

.check-list {
    gap: 10px;
}

.check-item {
    min-height: 54px;
    padding: 13px 14px;
    font-size: 13px;
    border-radius: 17px;
    align-items: flex-start;
}

.check-item > span:first-child {
    width: 26px;
    height: 26px;
    min-width: 26px;
    margin-top: 1px;
    font-size: 12px;
}

.check-item > span:last-child {
    font-size: 13px;
    line-height: 1.35;
}
}

.tariff-step .tariff-head {
    margin-bottom: 26px;
}

.tariff-grid,
.tariffs-grid,
.ob-tariffs-grid,
.ob-tariffs,
.tariff-cards  {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    align-items: stretch;
    padding: 0 16px;
}
.tariff-card {
    position: relative;
    min-height: 390px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, .10), transparent 180px),
        var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
    overflow: hidden;
}

.tariff-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, .55);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.tariff-card.active {
    border-color: #6d5dfc;
    box-shadow:
        0 0 0 1px rgba(109, 93, 252, .25),
        0 22px 55px rgba(79, 70, 229, .16);
}

.tariff-card.active::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6, #ec4899);
}

.tariff-content {
    flex: 1 1 auto;
    min-width: 0;
}

.tariff-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.tariff-name {
    min-width: 0;
    color: var(--text-strong);
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-transform: none;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.tariff-badge {
    width: auto;
    max-width: 110px;
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(79, 70, 229, .12);
    border: 1px solid rgba(99, 102, 241, .24);
    color: var(--hero-badge-text);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tariff-price {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--text-strong);
    font-size: 0;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.tariff-price strong {
    color: var(--text-strong);
    font-size: 30px;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.055em;
}

.tariff-price span {
    padding-bottom: 3px;
    color: var(--text-faint);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.02em;
}

.tariff-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.tariff-list li {
    position: relative;
    padding-left: 20px;
}

.tariff-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hero-badge-text);
    font-size: 12px;
    font-weight: 900;
}

.tariff-btn {
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    border-radius: 16px;
    background: #4f46e5;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    white-space: normal;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.tariff-btn:hover {
    background: #4338ca;
    box-shadow: 0 16px 32px rgba(79, 70, 229, .22);
}

.tariff-btn:active {
    transform: scale(.98);
}

body.dark-theme .tariff-card {
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, .16), transparent 180px),
        var(--bg-surface);
    border-color: rgba(148, 163, 184, .16);
}

body.dark-theme .tariff-card:hover,
body.dark-theme .tariff-card.active {
    border-color: rgba(129, 140, 248, .7);
}

body.dark-theme .tariff-badge {
    background: rgba(99, 102, 241, .16);
    border-color: rgba(129, 140, 248, .28);
    color: #c7d2fe;
}

@media (max-width: 1180px) {
    .tariff-grid,
    .tariffs-grid,
    .ob-tariffs-grid,
    .ob-tariffs,
    .tariff-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tariff-card {
        min-height: 0;
        padding: 22px;
        border-radius: 24px;
    }

    .tariff-price strong {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .tariff-step .tariff-head {
        margin-bottom: 16px;
    }

    .tariff-grid,
    .tariffs-grid,
    .ob-tariffs-grid,
    .ob-tariffs,
    .tariff-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .tariff-card {
        padding: 16px;
        border-radius: 20px;
        gap: 16px;
    }

    .tariff-top {
        margin-bottom: 14px;
    }

    .tariff-name {
        font-size: 14px;
    }

    .tariff-badge {
        max-width: 96px;
        padding: 5px 8px;
        font-size: 8px;
    }

    .tariff-price {
        margin-bottom: 14px;
    }

    .tariff-price strong {
        font-size: 26px;
    }

    .tariff-price span {
        font-size: 13px;
    }

    .tariff-list {
        gap: 7px;
        font-size: 12px;
    }

    .tariff-btn {
        min-height: 46px;
        border-radius: 14px;
        font-size: 13px;
    }
}

#notify {
    position: fixed;
    z-index: 99999;
    display: flex;
    gap: 12px;
    pointer-events: none;
}

@media (max-width: 768px) {
    #notify {
        top: 14px;
        left: 12px;
        right: 12px;
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    #notify {
        right: 22px;
        bottom: 22px;
        width: 360px;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
    }
}

.notify-item {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    border-radius: 18px;
    padding: 15px 17px 15px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.14),
        0 6px 18px rgba(15, 23, 42, 0.08);
    transform-origin: right bottom;
    will-change: transform, opacity, filter;
}

.notify-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
}

.notify-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .45), transparent 110px),
        linear-gradient(135deg, rgba(255,255,255,.12), transparent 55%);
    opacity: .7;
}

.notify-text {
    position: relative;
    z-index: 2;
    margin: 0;
    word-break: break-word;
}

.notify-item.notify-success {
    background: rgba(236, 253, 245, .94);
    border: 1px solid rgba(16, 185, 129, .24);
    color: #047857;
}

.notify-item.notify-success::before {
    background: linear-gradient(180deg, #34d399, #059669);
    box-shadow: 0 0 18px rgba(16, 185, 129, .36);
}

.notify-item.notify-error {
    background: rgba(254, 242, 242, .95);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #b91c1c;
}

.notify-item.notify-error::before {
    background: linear-gradient(180deg, #fb7185, #ef4444);
    box-shadow: 0 0 18px rgba(239, 68, 68, .34);
}

.notify-item.notify-warning {
    background: rgba(255, 251, 235, .96);
    border: 1px solid rgba(245, 158, 11, .28);
    color: #92400e;
}

.notify-item.notify-warning::before {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 18px rgba(245, 158, 11, .34);
}

.notify-item.notify-info {
    background: rgba(239, 246, 255, .95);
    border: 1px solid rgba(59, 130, 246, .24);
    color: #1d4ed8;
}

.notify-item.notify-info::before {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    box-shadow: 0 0 18px rgba(37, 99, 235, .34);
}

body.dark-theme .notify-item.notify-success {
    background: rgba(6, 78, 59, .88);
    border-color: rgba(52, 211, 153, .28);
    color: #d1fae5;
}

body.dark-theme .notify-item.notify-error {
    background: rgba(127, 29, 29, .88);
    border-color: rgba(248, 113, 113, .28);
    color: #fee2e2;
}

body.dark-theme .notify-item.notify-warning {
    background: rgba(120, 53, 15, .9);
    border-color: rgba(251, 191, 36, .3);
    color: #fef3c7;
}

body.dark-theme .notify-item.notify-info {
    background: rgba(30, 58, 138, .88);
    border-color: rgba(96, 165, 250, .28);
    color: #dbeafe;
}



@keyframes notifyInDesktop {
    0% {
        opacity: 0;
        transform: translate3d(44px, 18px, 0) scale(.92);
        filter: blur(10px);
    }

    42% {
        opacity: 1;
        transform: translate3d(-5px, -2px, 0) scale(1.018);
        filter: blur(0);
    }

    72% {
        transform: translate3d(2px, 1px, 0) scale(.996);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes notifyOutDesktop {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    35% {
        opacity: .84;
        transform: translate3d(-4px, -2px, 0) scale(.992);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    100% {
        opacity: 0;
        transform: translate3d(48px, -16px, 0) scale(.92);
        filter: blur(8px);
        max-height: 0;
        margin-top: -12px;
    }
}

@keyframes notifyInMobile {
    0% {
        opacity: 0;
        transform: translate3d(0, -28px, 0) scale(.94);
        filter: blur(10px);
    }

    48% {
        opacity: 1;
        transform: translate3d(0, 5px, 0) scale(1.015);
        filter: blur(0);
    }

    74% {
        transform: translate3d(0, -2px, 0) scale(.997);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes notifyOutMobile {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    35% {
        opacity: .86;
        transform: translate3d(0, 4px, 0) scale(.992);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    100% {
        opacity: 0;
        transform: translate3d(0, -26px, 0) scale(.94);
        filter: blur(8px);
        max-height: 0;
        margin-top: -12px;
    }
}

@media (min-width: 769px) {
    .notify-slide-in {
        animation: notifyInDesktop .62s cubic-bezier(.16, 1, .3, 1) both;
    }

    .notify-slide-out {
        animation: notifyOutDesktop .52s cubic-bezier(.5, 0, .2, 1) both;
    }
}

@media (max-width: 768px) {
    .notify-slide-in {
        animation: notifyInMobile .58s cubic-bezier(.16, 1, .3, 1) both;
    }

    .notify-slide-out {
        animation: notifyOutMobile .48s cubic-bezier(.5, 0, .2, 1) both;
    }
}

@keyframes notifyInDesktop {
    0% {
        opacity: 0;
        transform: translate3d(44px, 18px, 0) scale(.92);
        filter: blur(10px);
    }

    42% {
        opacity: 1;
        transform: translate3d(-5px, -2px, 0) scale(1.018);
        filter: blur(0);
    }

    72% {
        transform: translate3d(2px, 1px, 0) scale(.996);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes notifyOutDesktop {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    35% {
        opacity: .84;
        transform: translate3d(-4px, -2px, 0) scale(.992);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    100% {
        opacity: 0;
        transform: translate3d(48px, -16px, 0) scale(.92);
        filter: blur(8px);
        max-height: 0;
        margin-top: -12px;
    }
}

@keyframes notifyInMobile {
    0% {
        opacity: 0;
        transform: translate3d(0, -28px, 0) scale(.94);
        filter: blur(10px);
    }

    48% {
        opacity: 1;
        transform: translate3d(0, 5px, 0) scale(1.015);
        filter: blur(0);
    }

    74% {
        transform: translate3d(0, -2px, 0) scale(.997);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes notifyOutMobile {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    35% {
        opacity: .86;
        transform: translate3d(0, 4px, 0) scale(.992);
        filter: blur(0);
        max-height: 180px;
        margin-top: 0;
    }

    100% {
        opacity: 0;
        transform: translate3d(0, -26px, 0) scale(.94);
        filter: blur(8px);
        max-height: 0;
        margin-top: -12px;
    }
}

@media (min-width: 769px) {
    .notify-slide-in {
        animation: notifyInDesktop .62s cubic-bezier(.16, 1, .3, 1) both;
    }

    .notify-slide-out {
        animation: notifyOutDesktop .52s cubic-bezier(.5, 0, .2, 1) both;
    }
}

@media (max-width: 768px) {
    .notify-slide-in {
        animation: notifyInMobile .58s cubic-bezier(.16, 1, .3, 1) both;
    }

    .notify-slide-out {
        animation: notifyOutMobile .48s cubic-bezier(.5, 0, .2, 1) both;
    }
}

.profile-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap-page {
    min-height: 100vh;
    padding: 104px 0 0;
    color: var(--text-main);
    background:
        radial-gradient(circle at 14% 0%, rgba(79, 70, 229, .055), transparent 360px),
        radial-gradient(circle at 90% 10%, rgba(79, 70, 229, .035), transparent 320px),
        linear-gradient(180deg, rgba(79, 70, 229, .025), transparent 390px),
        var(--bg-body);
}

.ap-wrap {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.ap-layout {
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 56px;
}

.ap-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.ap-main {
    min-width: 0;
    display: grid;
    gap: 24px;
}

.ap-section {
    display: grid;
    gap: 12px;
}

.ap-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
    color: var(--text-faint);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ap-section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .72;
}

.ap-card {
    position: relative;
    background: rgba(255, 255, 255, .76);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

body.dark-theme .ap-card {
    background: rgba(15, 23, 42, .70);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .15);
}

.ap-profile-card {
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.ap-profile-line {
    width: 46px;
    height: 3px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .24;
}

.ap-profile-head {
    display: grid;
    justify-items: center;
    text-align: center;
}

.ap-avatar-wrap {
    position: relative;
    margin-bottom: 16px;
}

.ap-avatar {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    object-fit: cover;
    background: var(--bg-surface-soft);
    border: 1px solid var(--border-color);
}

.ap-avatar-badge {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--bg-surface);
    color: var(--hero-badge-text);
    border: 4px solid var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.ap-profile-name {
    max-width: 100%;
    color: var(--text-strong);
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.035em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-profile-email {
    max-width: 100%;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-create {
    width: 100%;
    margin-top: 20px;
}

.ap-meta {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.ap-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.ap-meta-row strong {
    max-width: 150px;
    color: var(--text-strong);
    font-weight: 900;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-side-note {
    padding: 20px;
}

.ap-side-note-title {
    color: var(--text-strong);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
}

.ap-side-note-text {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.ap-side-note-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--hero-badge-text);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
}

.ap-head {
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.ap-head::after {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    width: 94px;
    height: 94px;
    border-radius: 28px;
    transform: translateY(-50%) rotate(4deg);
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
    opacity: .7;
    pointer-events: none;
}

.ap-head::before {
    content: "AI";
    position: absolute;
    right: 60px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--hero-badge-text);
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.05em;
    pointer-events: none;
}

.ap-head-content {
    position: relative;
    z-index: 3;
    padding-right: 132px;
}

.ap-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ap-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .74;
}

.ap-title {
    margin: 0;
    color: var(--text-strong);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.048em;
}

.ap-desc {
    max-width: 660px;
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.ap-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 26px;
    background:
        linear-gradient(90deg, rgba(79, 70, 229, .075), transparent 46%),
        var(--bg-surface);
}

body.dark-theme .ap-action {
    background:
        linear-gradient(90deg, rgba(79, 70, 229, .12), transparent 46%),
        var(--bg-surface);
}

.ap-action::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .58;
}

.ap-action-main {
    position: relative;
    z-index: 2;
    padding-left: 16px;
}

.ap-action-side {
    position: relative;
    z-index: 2;
    min-width: 174px;
    display: flex;
    justify-content: flex-end;
}

.ap-action-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .02em;
}

.ap-action-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .82;
}

.ap-action-title {
    margin: 0;
    color: var(--text-strong);
    font-size: 22px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.035em;
}

.ap-action-text {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
}

.ap-panel {
    padding: 26px;
    box-shadow: var(--shadow-card);
}

.ap-panel-head {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.ap-panel-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--border-strong), transparent);
}

.ap-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text-strong);
    font-size: 25px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.04em;
}

.ap-panel-title::before {
    content: "";
    width: 8px;
    height: 22px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .72;
    flex: 0 0 auto;
}

.ap-panel-subtitle {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.ap-bots {
    display: grid;
    gap: 14px;
}

.ap-bot {
    padding: 20px;
    border-radius: 22px;
    background: var(--bg-surface);
    box-shadow: 0 1px 0 var(--border-color), 0 12px 30px rgba(15, 23, 42, .035);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.dark-theme .ap-bot {
    box-shadow: 0 1px 0 var(--border-color), 0 12px 30px rgba(0, 0, 0, .14);
}

.ap-bot:hover {
    transform: translateY(-1px);
    background: var(--bg-surface-soft);
    box-shadow: 0 1px 0 var(--border-strong), 0 16px 34px rgba(15, 23, 42, .055);
}

body.dark-theme .ap-bot:hover {
    box-shadow: 0 1px 0 var(--border-strong), 0 16px 34px rgba(0, 0, 0, .20);
}

.ap-bot-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.ap-bot-info-main {
    min-width: 0;
}

.ap-bot-name {
    margin: 0;
    color: var(--text-strong);
    font-size: 18px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.ap-bot-sub {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.ap-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    color: var(--hero-badge-text);
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
}

.ap-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--hero-badge-text);
    opacity: .86;
}

.ap-bot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.ap-bot-info {
    min-width: 0;
    padding: 13px;
    border-radius: 14px;
    background: var(--bg-surface-soft);
    box-shadow: inset 0 0 0 1px var(--border-color);
}

.ap-bot-label {
    color: var(--text-faint);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.ap-bot-value {
    margin-top: 7px;
    color: var(--text-strong);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-usage {
    margin-bottom: 16px;
}

.ap-usage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.ap-usage-top strong {
    color: var(--text-strong);
    font-weight: 900;
}

.ap-usage-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--bg-muted);
    overflow: hidden;
}

.ap-usage-fill {
    height: 100%;
    border-radius: inherit;
    background: #4f46e5;
    opacity: .88;
}

.ap-bot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .15s ease, color .18s ease, box-shadow .18s ease;
}

.ap-btn:active {
    transform: scale(.97);
}

.ap-btn-primary {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 10px 22px rgba(79, 70, 229, .14);
}

.ap-btn-primary:hover {
    background: #4338ca;
}

.ap-btn-secondary {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-strong);
}

.ap-btn-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--border-strong);
}

.ap-empty {
    display: none;
    padding: 42px 22px;
    border-radius: 22px;
    text-align: center;
    background: var(--bg-surface);
    box-shadow: 0 1px 0 var(--border-color), 0 12px 30px rgba(15, 23, 42, .035);
}

.ap-empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 17px;
    border-radius: 22px;
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    border: 1px solid var(--hero-badge-border);
}

.ap-empty-title {
    color: var(--text-strong);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}

.ap-empty-text {
    max-width: 420px;
    margin: 10px auto 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
}

.ap-empty .ap-btn {
    margin-top: 22px;
}

.ap-footer {
    padding: 64px 24px;
    margin-bottom: 80px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.ap-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.ap-footer-logo {
    margin: 0 0 16px;
    color: var(--text-strong);
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.05em;
}

.ap-footer-desc {
    margin: 0;
    color: var(--text-faint);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.ap-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    color: var(--text-faint);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.ap-footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.ap-footer-links a:hover {
    color: var(--hero-badge-text);
}

@media (min-width: 768px) {
    .ap-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ap-footer {
        padding: 84px 24px;
        margin-bottom: 0;
    }

    .ap-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        text-align: left;
    }

    .ap-footer-links {
        justify-content: flex-end;
        gap: 40px;
        font-size: 11px;
    }

    .ap-footer-logo {
        margin-bottom: 18px;
        font-size: 44px;
    }
}

@media (max-width: 1120px) {
    .ap-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .ap-bot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ap-page {
        padding-top: 86px;
    }

    .ap-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ap-layout {
        display: block;
        padding-bottom: 26px;
    }

    .ap-sidebar {
        position: static;
        display: block;
        margin-bottom: 16px;
    }

    .ap-profile-card {
        padding: 18px;
        border-radius: 24px;
    }

    .ap-profile-line {
        display: none;
    }

    .ap-profile-head {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
        text-align: left;
        column-gap: 13px;
    }

    .ap-avatar-wrap {
        margin: 0;
    }

    .ap-avatar {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .ap-avatar-badge {
        width: 22px;
        height: 22px;
        right: -4px;
        bottom: -4px;
        border-width: 3px;
        font-size: 9px;
    }

    .ap-profile-name {
        font-size: 18px;
    }

    .ap-profile-email {
        margin-top: 5px;
        font-size: 12px;
    }

    .ap-create {
        grid-column: 1 / -1;
        margin-top: 16px;
        min-height: 50px;
    }

    .ap-meta,
    .ap-side-note {
        display: none;
    }

    .ap-main {
        gap: 16px;
    }

    .ap-section {
        gap: 9px;
    }

    .ap-section-label {
        padding-left: 2px;
    }

    .ap-head,
    .ap-action,
    .ap-panel {
        border-radius: 24px;
    }

    .ap-head {
        padding: 22px;
    }

    .ap-head::before,
    .ap-head::after {
        display: none;
    }

    .ap-head-content {
        padding-right: 0;
    }

    .ap-title {
        font-size: 25px;
    }

    .ap-desc {
        font-size: 13px;
    }

    .ap-action {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }

    .ap-action::before {
        display: none;
    }

    .ap-action-main {
        padding-left: 14px;
    }

    .ap-action-title {
        font-size: 20px;
    }

    .ap-action-text {
        font-size: 13px;
    }

    .ap-action-side {
        min-width: 0;
        display: block;
    }

    .ap-action-side .ap-btn {
        width: 100%;
    }

    .ap-panel {
        padding: 20px;
    }

    .ap-panel-head {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .ap-panel-title {
        font-size: 22px;
    }

    .ap-panel-subtitle {
        font-size: 13px;
    }

    .ap-bot {
        padding: 18px;
        border-radius: 20px;
    }

    .ap-bot-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .ap-status {
        width: fit-content;
    }

    .ap-bot-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ap-bot-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ap-bot-actions .ap-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .desktop-nav {
        display: none;
    }

    .nav-inner {
        gap: 8px;
    }

    .brand-title {
        font-size: 18px;
    }

    .lang-pill-btn {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.bs-page {
    min-height: 100vh;
    padding: 104px 0 48px;
    background: var(--bg-body);
    color: var(--text-main);
}

.bs-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.bs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 26px;
    border-radius: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    margin-bottom: 18px;
}

.bs-back {
    display: inline-flex;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.bs-title {
    margin: 0;
    color: var(--text-strong);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.04em;
}

.bs-subtitle {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.bs-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bs-status {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
    color: var(--hero-badge-text);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.bs-save {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #4f46e5;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.bs-save:disabled {
    opacity: .65;
    cursor: default;
}

.bs-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.bs-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.bs-side-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 14px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.bs-side-btn.active {
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
}

.bs-content {
    padding: 26px;
    border-radius: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.bs-tab {
    display: none;
}

.bs-tab.active {
    display: block;
}

.bs-section-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.bs-section-head h2 {
    margin: 0;
    color: var(--text-strong);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.bs-section-head p {
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.bs-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.bs-field label {
    color: var(--text-strong);
    font-size: 13px;
    font-weight: 900;
}

.bs-field input,
.bs-field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-soft);
    color: var(--text-strong);
    border-radius: 16px;
    padding: 14px 15px;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    resize: vertical;
}

.bs-field input:focus,
.bs-field textarea:focus {
    border-color: var(--hero-badge-text);
}

.bs-help {
    color: var(--text-faint);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.bs-read-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bs-read-card {
    padding: 14px;
    border-radius: 16px;
    background: var(--bg-surface-soft);
    border: 1px solid var(--border-color);
}

.bs-read-card span {
    display: block;
    color: var(--text-faint);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.bs-read-card strong {
    display: block;
    color: var(--text-strong);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-feature-grid {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.bs-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--bg-surface-soft);
    border: 1px solid var(--border-color);
}

.bs-feature span {
    color: var(--text-strong);
    font-size: 13px;
    font-weight: 900;
}

.bs-feature strong {
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 900;
}

.bs-feature.active strong {
    color: var(--hero-badge-text);
}

@media (max-width: 900px) {
    .bs-page {
        padding-top: 86px;
    }

    .bs-wrap {
        padding: 0 12px;
    }

    .bs-head {
        display: grid;
        padding: 20px;
        border-radius: 24px;
    }

    .bs-title {
        font-size: 24px;
    }

    .bs-head-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bs-save {
        width: 100%;
    }

    .bs-layout {
        grid-template-columns: 1fr;
    }

    .bs-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bs-side-btn {
        text-align: center;
    }

    .bs-content {
        padding: 20px;
        border-radius: 24px;
    }

    .bs-read-grid {
        grid-template-columns: 1fr;
    }
}