:root {
  --ink: #262833;
  --ink-soft: #565866;
  --muted: #8b8d99;
  --purple: #9e2cbf;
  --purple-dark: #77208f;
  --purple-soft: #f5eaf9;
  --line: #ececf1;
  --surface: #ffffff;
  --canvas: #f5f5f8;
  --header: #272b39;
  --radius-lg: 18px;
  --radius-md: 13px;
  --shadow: 0 16px 42px rgba(41, 35, 62, 0.07);
  --container: 1400px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--font); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 64px; background: rgba(39, 43, 57, 0.98); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(18px); }
.header-inner { width: min(1680px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand img, .footer-brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 2px; color: rgba(255, 255, 255, 0.52); font-size: 11px; }
.main-nav { height: 100%; display: flex; align-items: stretch; gap: 2px; flex: 1; min-width: 0; }
.nav-link { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 14px; color: rgba(255, 255, 255, 0.74); font-size: 14px; white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #d674f2, #9e2cbf); transform: translateX(-50%); transition: width 0.24s ease; }
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.035); }
.nav-link.is-active::after { width: 26px; }
.header-actions { display: flex; align-items: center; gap: 9px; min-width: max-content; }
.icon-button, .mobile-menu-button { width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; color: rgba(255, 255, 255, 0.78); background: transparent; border: 0; border-radius: 50%; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 8px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: #ee5371; box-shadow: 0 0 0 2px var(--header); }
.quick-service { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; color: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 19px; font-size: 12px; transition: background 0.2s ease, border-color 0.2s ease; }
.quick-service svg { width: 16px; height: 16px; }
.quick-service:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.login-button { height: 35px; padding: 0 23px; color: #333440; background: #fff; border: 0; border-radius: 18px; font-size: 13px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.login-button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2); }
.mobile-menu-button { display: none; position: relative; }
.mobile-menu-button span { position: absolute; left: 10px; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.24s ease, opacity 0.2s ease; }
.mobile-menu-button span:nth-child(1) { top: 12px; }
.mobile-menu-button span:nth-child(2) { top: 17px; }
.mobile-menu-button span:nth-child(3) { top: 22px; }
body.menu-open .mobile-menu-button span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .mobile-menu-button span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-button span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hero { padding-top: 6px; background: var(--canvas); }
.hero-container { padding-top: 0; }
.hero-banner { position: relative; display: block; overflow: hidden; border-radius: 20px; box-shadow: 0 22px 60px rgba(74, 50, 105, 0.14); background: #f7edff; }
.hero-banner img { width: 100%; height: auto; aspect-ratio: 3.5 / 1; object-fit: cover; object-position: center; transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1); }
.hero-banner:hover img { transform: scale(1.012); }
.hero-brand-lockup { position: absolute; z-index: 2; top: 22px; left: 24px; min-width: 320px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 9px; color: #252331; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 16px; box-shadow: 0 8px 24px rgba(86, 47, 109, 0.1); backdrop-filter: blur(10px); }
.hero-brand-lockup > img { width: 43px; height: 43px; border-radius: 50%; box-shadow: none; }
.hero-brand-lockup > span { display: flex; flex-direction: column; line-height: 1.1; }
.hero-brand-lockup b { font-size: 17px; font-weight: 750; letter-spacing: 0.02em; }
.hero-brand-lockup small { margin-top: 4px; color: #77717e; font-size: 8px; letter-spacing: 0.08em; }
.hero-banner::after { content: ""; position: absolute; inset: auto 29px 22px auto; width: 9px; height: 9px; border-radius: 50%; background: #9e2cbf; box-shadow: 0 0 0 0 rgba(158, 44, 191, 0.42); animation: heroPulse 2.3s infinite; }
@keyframes heroPulse { 0% { box-shadow: 0 0 0 0 rgba(158, 44, 191, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(158, 44, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(158, 44, 191, 0); } }
.market-strip { margin-top: 10px; padding: 10px 0; background: #fff; border-top: 1px solid #f0f0f3; border-bottom: 1px solid #e9e9ee; }
.market-strip .page-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.market-cities, .market-rates { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.city { display: inline-flex; align-items: center; gap: 6px; color: #353642; font-size: 12px; }
.city em { color: #686a76; font-style: normal; font-size: 11px; }
.flag { width: 16px; height: 11px; display: inline-block; overflow: hidden; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.flag-cn { background: linear-gradient(to bottom, #d91f2a 0 33%, #ffdf42 33% 66%, #d91f2a 66%); }
.flag-ru { background: linear-gradient(to bottom, #fff 0 33%, #1f4fa5 33% 66%, #d92b32 66%); }
.market-rates { justify-content: flex-end; overflow: hidden; color: #6d6f7a; font-size: 11px; gap: 34px; }
.market-rates b { color: #b343ca; font-weight: 500; }
.rate-label { color: #333541; }

.content-stack { padding-top: 22px; padding-bottom: 84px; }
.content-section { margin-bottom: 24px; padding: 34px 36px 38px; background: #fff; border: 1px solid #efeff3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.section-heading { display: flex; align-items: flex-start; gap: 15px; }
.section-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; }
.section-icon svg { width: 22px; height: 22px; }
.icon-news { color: #9231ad; background: #f5eaf9; }
.icon-learning { color: #2771c7; background: #eaf3ff; }
.icon-local { color: #2c8a67; background: #e9f8f1; }
.icon-cross { color: #d05b33; background: #fff0e8; }
.eyebrow { display: block; margin-bottom: 4px; color: #9e2cbf; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.2; }
.eyebrow.light { color: #d9a0ed; }
.section-heading h2 { margin: 0; color: #242631; font-size: 25px; line-height: 1.25; letter-spacing: -0.02em; }
.section-heading p { margin: 6px 0 0; color: #8b8d99; font-size: 13px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #8530a1; font-size: 12px; transition: gap 0.2s ease, color 0.2s ease; }
.section-link svg, .text-button svg, .course-footer button svg, .service-action svg, .primary-button svg { width: 15px; height: 15px; }
.section-link:hover { gap: 10px; color: #64177b; }
.filter-tabs { display: inline-flex; align-items: center; gap: 4px; padding: 4px; margin: -3px 0 22px; background: #f6f4f9; border-radius: 11px; }
.filter-tab { height: 33px; padding: 0 16px; color: #777986; background: transparent; border: 0; border-radius: 8px; font-size: 12px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.filter-tab:hover { color: #713184; }
.filter-tab.is-active { color: #7d2295; background: #fff; box-shadow: 0 4px 13px rgba(67, 48, 83, 0.09); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid #ededf1; border-radius: 14px; transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease; }
.news-card:hover { transform: translateY(-4px); border-color: #e1d8e7; box-shadow: 0 18px 36px rgba(67, 45, 86, 0.1); }
.news-card.is-hidden { display: none; }
.news-visual { position: relative; height: 122px; display: flex; align-items: flex-end; justify-content: space-between; overflow: hidden; padding: 17px 18px; color: #fff; }
.news-visual::before, .news-visual::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.news-visual::before { top: -35px; right: -18px; width: 120px; height: 120px; border: 1px solid rgba(255, 255, 255, 0.24); }
.news-visual::after { top: 23px; right: 27px; width: 68px; height: 68px; background: rgba(255, 255, 255, 0.1); }
.news-visual > span { position: relative; z-index: 1; padding: 3px 8px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; font-size: 11px; letter-spacing: 0.04em; }
.news-visual > svg { position: absolute; left: 18px; bottom: 50px; width: 45px; height: 45px; opacity: 0.92; }
.visual-violet { background: linear-gradient(135deg, #6e2ca9, #b95cd7); }
.visual-blue { background: linear-gradient(135deg, #315dbe, #6bacd9); }
.visual-green { background: linear-gradient(135deg, #1f8067, #5ebd95); }
.visual-orange { background: linear-gradient(135deg, #cb6634, #e8aa58); }
.visual-pink { background: linear-gradient(135deg, #bb3e75, #e67ea8); }
.visual-cyan { background: linear-gradient(135deg, #247a91, #54b8c4); }
.news-body { padding: 20px 19px 18px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #9e2cbf; font-size: 10px; }
.news-meta time { color: #a1a2ac; font-variant-numeric: tabular-nums; }
.news-body h3 { min-height: 48px; margin: 0; color: #2d2e39; font-size: 16px; font-weight: 600; line-height: 1.5; }
.news-body p { min-height: 44px; margin: 10px 0 13px; color: #8b8c96; font-size: 12px; line-height: 1.72; }
.text-button, .course-footer button, .service-action, .cross-card button { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #81289a; background: transparent; border: 0; font-size: 12px; cursor: pointer; }
.text-button:hover, .course-footer button:hover, .service-action:hover { color: #5e176f; }
.section-learning { background: linear-gradient(180deg, #fff 0%, #fdfcff 100%); }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.course-card { overflow: hidden; border: 1px solid #ededf1; border-radius: 14px; background: #fff; transition: transform 0.24s ease, box-shadow 0.24s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(47, 51, 79, 0.1); }
.course-cover { position: relative; height: 148px; overflow: hidden; padding: 18px; color: #fff; }
.course-cover::before { content: ""; position: absolute; right: -35px; bottom: -58px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); }
.course-cover > svg { position: absolute; left: 18px; bottom: 19px; width: 49px; height: 49px; opacity: 0.8; }
.course-kicker { position: relative; z-index: 1; display: inline-block; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 6px; background: rgba(255, 255, 255, 0.13); font-size: 10px; }
.course-violet .course-cover { background: linear-gradient(135deg, #523298, #ac63d4); }
.course-blue .course-cover { background: linear-gradient(135deg, #2665ad, #5bb4d5); }
.course-green .course-cover { background: linear-gradient(135deg, #247c5c, #83bb7c); }
.course-orange .course-cover { background: linear-gradient(135deg, #be5c34, #e8a156); }
.play-button { position: absolute; right: 16px; bottom: 15px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: #fff; background: rgba(255, 255, 255, 0.19); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.play-button:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.06); }
.play-button svg { width: 20px; height: 20px; }
.course-body { padding: 17px 17px 15px; }
.course-tags { display: flex; gap: 6px; margin-bottom: 9px; color: #8d8f9a; font-size: 10px; }
.course-tags span { padding: 2px 6px; background: #f6f6f8; border-radius: 4px; }
.course-body h3 { min-height: 46px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.course-body p { min-height: 50px; margin: 8px 0 15px; color: #8f909b; font-size: 11px; line-height: 1.6; }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid #f1f1f4; color: #a1a2ac; font-size: 10px; }
.course-footer button { font-size: 11px; }

.ai-section { padding: 0; overflow: hidden; border: 0; background: transparent; box-shadow: none; }
.ai-panel { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; overflow: hidden; padding: 44px; color: #fff; background: radial-gradient(circle at 78% 10%, rgba(184, 95, 230, 0.28), transparent 31%), radial-gradient(circle at 5% 100%, rgba(74, 88, 205, 0.3), transparent 38%), linear-gradient(135deg, #1b1e31 0%, #2b2445 56%, #3c2657 100%); border-radius: 20px; box-shadow: 0 22px 55px rgba(35, 29, 56, 0.19); }
.ai-panel::before { content: ""; position: absolute; top: -140px; right: 10%; width: 330px; height: 330px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 50%; }
.ai-panel::after { content: ""; position: absolute; right: -140px; bottom: -190px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); }
.ai-copy, .ai-tools { position: relative; z-index: 1; }
.ai-copy h2 { margin: 0; font-size: 31px; line-height: 1.2; letter-spacing: -0.035em; }
.ai-copy > p { max-width: 500px; margin: 14px 0 29px; color: rgba(255, 255, 255, 0.67); font-size: 14px; line-height: 1.8; }
.ai-prompt { display: flex; align-items: center; gap: 11px; padding: 12px 13px 12px 17px; background: rgba(255, 255, 255, 0.075); border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 15px; }
.ai-prompt > svg { width: 20px; height: 20px; color: #d88cf0; flex: 0 0 auto; }
.ai-prompt span { flex: 1; color: rgba(255, 255, 255, 0.58); font-size: 11px; }
.ai-prompt button { flex: 0 0 auto; height: 36px; padding: 0 16px; color: #392245; background: linear-gradient(135deg, #e8b1f8, #c47fdf); border: 0; border-radius: 10px; font-size: 11px; font-weight: 600; cursor: pointer; }
.ai-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.ai-tool-card { position: relative; min-height: 118px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px; color: #fff; text-align: left; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 13px; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.ai-tool-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.095); border-color: rgba(225, 165, 248, 0.32); }
.ai-tool-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #dfa3f2; background: rgba(177, 94, 211, 0.17); border-radius: 9px; }
.ai-tool-icon svg { width: 17px; height: 17px; }
.ai-tool-card > span:nth-child(2) { display: flex; flex-direction: column; }
.ai-tool-card b { font-size: 13px; font-weight: 600; }
.ai-tool-card small { margin-top: 3px; color: rgba(255, 255, 255, 0.45); font-size: 10px; }
.ai-tool-card .tool-arrow { position: absolute; right: 17px; bottom: 17px; width: 16px; height: 16px; color: rgba(255, 255, 255, 0.38); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { --accent: #9e2cbf; --accent-soft: #f6ebfa; position: relative; padding: 22px 21px 20px; border: 1px solid #ededf1; border-radius: 14px; background: #fff; transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease; }
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 25%, #ececf0); box-shadow: 0 18px 34px rgba(48, 45, 63, 0.09); }
.accent-violet { --accent: #8d34b2; --accent-soft: #f5eafa; }
.accent-blue { --accent: #2b6cb0; --accent-soft: #eaf3fc; }
.accent-green { --accent: #24866c; --accent-soft: #e8f7f1; }
.accent-orange { --accent: #c76735; --accent-soft: #fff0e5; }
.accent-pink { --accent: #ba4774; --accent-soft: #fcedf3; }
.accent-cyan { --accent: #258098; --accent-soft: #e8f6f8; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.service-icon { width: 39px; height: 39px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 11px; }
.service-icon svg { width: 20px; height: 20px; }
.service-count { color: #aaaab2; font-size: 10px; }
.service-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.service-card p { min-height: 48px; margin: 0 0 15px; color: #898a95; font-size: 11px; line-height: 1.7; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.chip-row span { padding: 3px 7px; color: #777987; background: #f7f7f9; border-radius: 5px; font-size: 9px; }
.service-action { color: var(--accent); }
.cross-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.cross-card { position: relative; display: grid; grid-template-columns: 38px 1fr 24px; gap: 13px; align-items: center; min-height: 126px; padding: 19px 18px; overflow: hidden; background: linear-gradient(145deg, #fcfbff, #f7f6fb); border: 1px solid #efedf3; border-radius: 14px; transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease; }
.cross-card:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 32px rgba(48, 44, 64, 0.09); }
.cross-number { position: absolute; right: 14px; top: 9px; color: #eeeaf1; font-size: 30px; font-weight: 700; line-height: 1; }
.cross-icon { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; color: #8c37a7; background: #f2e9f7; border-radius: 11px; }
.cross-icon svg { width: 19px; height: 19px; }
.cross-card > div { position: relative; z-index: 1; min-width: 0; }
.cross-card h3 { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.cross-card p { margin: 0; color: #8e8f99; font-size: 10px; line-height: 1.6; }
.cross-card > button { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; color: #8d6b98; border-radius: 50%; background: #fff; box-shadow: 0 3px 9px rgba(40, 35, 55, 0.06); }
.cross-card > button svg { width: 13px; height: 13px; }
.provider-strip { display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(300px, 1.2fr) auto; align-items: center; gap: 28px; margin-top: 19px; padding: 24px 26px; background: #faf8fc; border: 1px solid #f0eaf4; border-radius: 14px; }
.provider-copy h3 { margin: 0; font-size: 16px; font-weight: 600; }
.provider-copy p { margin: 5px 0 0; color: #92939d; font-size: 10px; }
.provider-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.provider-logos span { padding: 7px 10px; color: #7d7e8b; background: #fff; border: 1px solid #ebe9ef; border-radius: 8px; font-size: 10px; }
.primary-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 17px; color: #fff; background: linear-gradient(135deg, #9e2cbf, #c04add); border: 0; border-radius: 10px; font-size: 11px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(145, 41, 172, 0.24); }
.primary-button.full { width: 100%; margin-top: 18px; }
.site-footer { padding: 44px 0 22px; color: #fff; background: #272b39; }
.footer-top { display: grid; grid-template-columns: 1fr 1.1fr 0.7fr; align-items: center; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 14px; font-weight: 600; }
.footer-brand span { margin-top: 2px; color: rgba(255, 255, 255, 0.45); font-size: 10px; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 21px; }
.footer-links a { color: rgba(255, 255, 255, 0.65); font-size: 11px; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-contact span, .footer-contact small { color: rgba(255, 255, 255, 0.42); font-size: 10px; }
.footer-contact strong { margin: 2px 0; color: #e6c7f1; font-size: 18px; font-weight: 500; letter-spacing: 0.03em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; color: rgba(255, 255, 255, 0.32); font-size: 9px; }

.ai-fab { position: fixed; right: 25px; bottom: 28px; z-index: 900; width: 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; color: #fff; background: linear-gradient(145deg, #a42fc3, #7c1f96); border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 50%; box-shadow: 0 12px 30px rgba(106, 29, 129, 0.35); cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.ai-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 17px 36px rgba(106, 29, 129, 0.42); }
.ai-fab svg { width: 20px; height: 20px; }
.ai-fab b { font-size: 9px; font-weight: 500; }
.ai-fab-orbit { position: absolute; inset: -5px; border: 1px solid rgba(172, 64, 203, 0.25); border-radius: 50%; animation: fabOrbit 2.6s linear infinite; }
.ai-fab-orbit::after { content: ""; position: absolute; top: -2px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #e7b4f6; }
@keyframes fabOrbit { to { transform: rotate(360deg); } }
.dialog[hidden] { display: none; }
.dialog { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.dialog-backdrop { position: absolute; inset: 0; background: rgba(27, 28, 39, 0.55); backdrop-filter: blur(7px); }
.dialog-panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 30px; background: #fff; border-radius: 18px; box-shadow: 0 28px 80px rgba(24, 22, 37, 0.27); animation: dialogIn 0.22s ease both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; color: #777986; background: #f4f4f7; border: 0; border-radius: 50%; cursor: pointer; }
.dialog-close svg { width: 17px; height: 17px; }
.dialog-close.inverse { position: static; margin-left: auto; color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.1); }
.dialog-panel h2 { margin: 0; font-size: 25px; line-height: 1.3; }
.search-panel { width: min(660px, 100%); }
.search-field { display: flex; align-items: center; gap: 11px; height: 52px; margin: 23px 0 18px; padding: 0 16px; background: #f7f6f9; border: 1px solid #ece9ef; border-radius: 13px; }
.search-field:focus-within { border-color: #c78ae0; box-shadow: 0 0 0 4px rgba(158, 44, 191, 0.08); }
.search-field svg { width: 20px; height: 20px; color: #8c8e99; }
.search-field input { flex: 1; min-width: 0; height: 100%; color: #2f303b; background: transparent; border: 0; outline: 0; }
.search-field input::placeholder, .chat-form input::placeholder { color: #aaaab3; }
.search-results { display: grid; gap: 7px; }
.search-results button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 14px; color: #333440; text-align: left; background: #fff; border: 1px solid #efedf2; border-radius: 10px; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.search-results button:hover { background: #fbf8fc; border-color: #e4d7e9; }
.search-results button span { color: #a0a1aa; font-size: 10px; }
.search-results button.is-empty { display: none; }
.chat-panel { width: min(540px, 100%); padding: 0; overflow: hidden; background: #f7f5fa; }
.chat-header { display: flex; align-items: center; gap: 11px; padding: 17px 18px; color: #fff; background: linear-gradient(135deg, #2a2841, #48274f); }
.chat-avatar { width: 36px; height: 36px; display: grid; place-items: center; color: #e1a5f3; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; }
.chat-avatar svg { width: 20px; height: 20px; }
.chat-header > div:nth-child(2) { display: flex; flex-direction: column; }
.chat-header span { font-size: 13px; font-weight: 600; }
.chat-header small { color: rgba(255, 255, 255, 0.45); font-size: 9px; }
.chat-log { height: 320px; overflow-y: auto; padding: 20px 18px 11px; scroll-behavior: smooth; }
.chat-message { width: fit-content; max-width: 88%; margin-bottom: 12px; padding: 12px 14px; border-radius: 13px; font-size: 12px; line-height: 1.65; animation: messageIn 0.22s ease both; }
@keyframes messageIn { from { opacity: 0; transform: translateY(6px); } }
.chat-message.assistant { color: #4d4e5a; background: #fff; border: 1px solid #ece9ef; border-bottom-left-radius: 4px; }
.chat-message.user { margin-left: auto; color: #fff; background: linear-gradient(135deg, #9229ad, #b148ca); border-bottom-right-radius: 4px; }
.chat-message b { display: block; margin-bottom: 3px; font-size: 12px; }
.chat-message p { margin: 0; }
.chat-message.typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat-message.typing i { width: 5px; height: 5px; border-radius: 50%; background: #ba7ccc; animation: typingDot 0.9s infinite alternate; }
.chat-message.typing i:nth-child(2) { animation-delay: 0.18s; }
.chat-message.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot { to { opacity: 0.25; transform: translateY(-2px); } }
.quick-prompts { display: flex; gap: 7px; overflow-x: auto; padding: 7px 18px 12px; scrollbar-width: none; }
.quick-prompts::-webkit-scrollbar { display: none; }
.quick-prompts button { flex: 0 0 auto; padding: 6px 10px; color: #7c378e; background: #fff; border: 1px solid #e8deec; border-radius: 15px; font-size: 9px; cursor: pointer; }
.quick-prompts button:hover { background: #fbf6fc; }
.chat-form { display: flex; gap: 9px; margin: 0 18px; padding: 9px 9px 9px 14px; background: #fff; border: 1px solid #e6e2ea; border-radius: 13px; }
.chat-form:focus-within { border-color: #c68adf; box-shadow: 0 0 0 4px rgba(158, 44, 191, 0.07); }
.chat-form input { flex: 1; min-width: 0; color: #333440; background: transparent; border: 0; outline: 0; font-size: 12px; }
.chat-form button { height: 34px; display: inline-flex; align-items: center; gap: 4px; padding: 0 13px; color: #fff; background: #9025aa; border: 0; border-radius: 9px; font-size: 10px; cursor: pointer; }
.chat-form button svg { width: 13px; height: 13px; }
.chat-note { margin: 9px 18px 14px; color: #a6a6af; font-size: 8px; text-align: center; }
.info-panel > p { color: #858691; font-size: 12px; line-height: 1.8; }
.info-points { display: grid; gap: 8px; margin-top: 17px; }
.info-points span { padding: 10px 12px; color: #666875; background: #f8f7fa; border-left: 3px solid #b760d0; border-radius: 0 8px 8px 0; font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 3000; max-width: calc(100% - 40px); padding: 11px 17px; color: #fff; background: rgba(35, 37, 49, 0.95); border-radius: 9px; box-shadow: 0 12px 28px rgba(20, 20, 30, 0.25); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 0.22s ease, transform 0.22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1260px) {
  .header-inner { gap: 14px; }
  .brand-copy strong { max-width: 156px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-link { padding-inline: 10px; font-size: 13px; }
  .quick-service span { display: none; }
  .quick-service { width: 36px; padding: 0; justify-content: center; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cross-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-cities .city:nth-child(n+5) { display: none; }
  .market-rates span:nth-last-child(-n+2) { display: none; }
}
@media (max-width: 980px) {
  .header-inner { width: min(100% - 32px, 1680px); }
  .brand-copy small { display: none; }
  .main-nav { position: fixed; top: 64px; left: 0; right: 0; height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 12px 16px 18px; background: rgba(39, 43, 57, 0.995); border-top: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; }
  .nav-link { min-height: 45px; border-radius: 9px; font-size: 12px; }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: rgba(158, 44, 191, 0.2); color: #fff; }
  body.menu-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu-button { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .market-strip .page-container { display: block; }
  .market-cities, .market-rates { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .market-cities::-webkit-scrollbar, .market-rates::-webkit-scrollbar { display: none; }
  .market-rates { justify-content: flex-start; margin-top: 8px; }
  .market-cities .city:nth-child(n) { display: inline-flex; }
  .market-rates span:nth-last-child(-n+2) { display: inline; }
  .ai-panel { grid-template-columns: 1fr; gap: 28px; }
  .provider-strip { grid-template-columns: 1fr auto; }
  .provider-copy { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .page-container { width: min(100% - 28px, var(--container)); }
  .site-header { height: 58px; }
  .header-inner { width: calc(100% - 24px); }
  .main-nav { top: 58px; grid-template-columns: repeat(2, 1fr); }
  .brand img { width: 31px; height: 31px; }
  .brand-copy strong { max-width: 130px; font-size: 12px; }
  .search-toggle, .notification-button, .quick-service { display: none; }
  .login-button { height: 32px; padding: 0 17px; font-size: 11px; }
  .hero { padding-top: 4px; }
  .hero-banner { border-radius: 13px; }
  .hero-banner img { min-height: 180px; object-position: left center; }
  .hero-brand-lockup { top: 12px; left: 12px; min-width: 205px; gap: 7px; padding: 6px 10px 6px 7px; border-radius: 12px; }
  .hero-brand-lockup > img { width: 34px; height: 34px; }
  .hero-brand-lockup b { font-size: 13px; }
  .hero-brand-lockup small { font-size: 7px; }
  .market-strip { margin-top: 6px; }
  .content-stack { padding-top: 15px; padding-bottom: 64px; }
  .content-section { margin-bottom: 15px; padding: 24px 18px 26px; border-radius: 14px; }
  .section-header { align-items: flex-start; gap: 12px; margin-bottom: 19px; }
  .section-icon { width: 40px; height: 40px; border-radius: 11px; }
  .section-heading { gap: 11px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { max-width: 260px; font-size: 11px; }
  .section-link { display: none; }
  .news-grid, .course-grid, .service-grid, .cross-grid { grid-template-columns: 1fr; }
  .news-body h3, .news-body p { min-height: 0; }
  .course-cover { height: 140px; }
  .ai-panel { padding: 27px 20px; border-radius: 15px; }
  .ai-copy h2 { font-size: 26px; }
  .ai-copy > p { margin-bottom: 20px; font-size: 12px; }
  .ai-prompt { align-items: flex-start; flex-wrap: wrap; }
  .ai-prompt span { flex-basis: calc(100% - 34px); }
  .ai-prompt button { margin-left: 31px; }
  .ai-tools { grid-template-columns: 1fr; }
  .ai-tool-card { min-height: 95px; }
  .provider-strip { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .provider-copy { grid-column: auto; }
  .provider-strip .primary-button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; text-align: center; }
  .footer-brand, .footer-links, .footer-contact { justify-content: center; align-items: center; }
  .footer-contact { text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
  .ai-fab { right: 15px; bottom: 18px; width: 56px; height: 56px; }
  .dialog { padding: 14px; }
  .dialog-panel { padding: 26px 18px; max-height: 90vh; border-radius: 15px; }
  .chat-panel { padding: 0; }
  .chat-log { height: min(43vh, 330px); }
  .search-results button span { display: none; }
  .toast { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}





