:root {
  --primary: #0f4aa8;
  --primary-700: #0a357b;
  --primary-900: #072556;
  --secondary: #08aeb5;
  --accent: #ff9b3d;
  --ink: #132238;
  --muted: #5f6f82;
  --line: #dce6f0;
  --surface: #f4f8fc;
  --white: #fff;
  --shadow: 0 18px 45px rgba(18, 54, 99, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; scrollbar-gutter: stable; }
body {
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
img { max-width: 100%; }
section[id], div[id] { scroll-margin-top: 112px; }
.section-space { padding: 84px 0; }
.section-soft { background: var(--surface); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 10px; background: var(--secondary); }
.section-title { margin: 12px 0 14px; font-size: clamp(1.75rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.18; }
.section-lead { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }

.topbar { background: var(--primary-900); color: #dbe9ff; font-size: .9rem; }
.topbar a { color: #fff; font-weight: 650; }
.topbar-inner { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav { background: rgba(255,255,255,.97); box-shadow: 0 6px 24px rgba(13,52,104,.08); z-index: 1030; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink) !important; }
.brand-mark { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.35rem; background: linear-gradient(145deg, var(--primary), var(--secondary)); box-shadow: 0 9px 20px rgba(15,74,168,.24); }
.brand-copy { line-height: 1.08; }
.brand-copy strong { display: block; font-size: 1.08rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .72rem; font-weight: 650; }
.navbar-nav { gap: 5px; }
.navbar-nav .nav-link { color: #263850; font-size: .94rem; font-weight: 650; padding: .65rem .75rem !important; border-radius: 10px; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); background: #edf4ff; box-shadow: inset 0 -2px 0 rgba(15,74,168,.18); }
.btn-login-nav { background: var(--primary); color: #fff !important; border-radius: 12px; padding: .75rem 1.1rem !important; box-shadow: 0 9px 22px rgba(15,74,168,.24); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-login-nav:hover { background: var(--primary-700) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 13px 28px rgba(15,74,168,.34); }
.btn-login-nav:active { transform: translateY(0) scale(.98); }

.hero { position: relative; padding: 48px 0 60px; background: radial-gradient(circle at 85% 12%, rgba(8,174,181,.16), transparent 26%), linear-gradient(180deg, #f7fbff 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 300px; height: 300px; left: -170px; top: 80px; border: 55px solid rgba(15,74,168,.05); border-radius: 50%; }
.login-panel { position: relative; height: 100%; padding: 38px; overflow: hidden; border: 1px solid #d9e6f3; border-radius: 24px; background: #fff; box-shadow: 0 22px 55px rgba(18,54,99,.16); }
.login-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg,var(--primary),var(--secondary),var(--accent)); }
.login-panel h1 { font-size: 1.92rem; font-weight: 850; margin: 10px 0 8px; letter-spacing: -.03em; }
.login-panel > p { color: var(--muted); margin-bottom: 28px; font-size: 1rem; }
.form-label { color: #2e4058; font-size: .92rem; font-weight: 700; }
.form-control, .form-select { min-height: 55px; border: 1.5px solid #cad9e8; border-radius: 14px; padding-inline: 16px; background-color: #fbfdff; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-control:hover, .form-select:hover { border-color: #96b8da; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--secondary); background-color: #fff; box-shadow: 0 0 0 .25rem rgba(8,174,181,.14), 0 8px 20px rgba(15,74,168,.08); }
.password-wrap { position: relative; }
.password-toggle { position: absolute; right: 8px; top: 8px; height: 39px; padding-inline: 12px; border: 0; border-radius: 10px; background: #e8f1fb; color: var(--primary); font-size: .82rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.password-toggle:hover { background: #d7e9fb; transform: translateY(-1px); }
.btn-primary-custom, .btn-light-custom { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary-custom { min-height: 56px; background: linear-gradient(120deg, var(--primary), #156bd2); color: #fff; border: 0; border-radius: 14px; font-weight: 800; font-size: 1rem; box-shadow: 0 12px 28px rgba(15,74,168,.28); }
.btn-primary-custom::after, .btn-light-custom::after { content: ""; position: absolute; top: -70%; left: -35%; width: 24%; height: 240%; z-index: -1; background: rgba(255,255,255,.3); transform: rotate(24deg); transition: left .45s ease; }
.btn-primary-custom:hover { color: #fff; background: linear-gradient(120deg, var(--primary-700), var(--primary)); transform: translateY(-3px); box-shadow: 0 17px 34px rgba(15,74,168,.34); }
.btn-primary-custom:hover::after, .btn-light-custom:hover::after { left: 112%; }
.btn-primary-custom:active, .btn-light-custom:active { transform: translateY(0) scale(.985); }
.button-icon { width: 26px; height: 26px; display: inline-grid; place-items: center; margin-right: 9px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .86rem; }
.support-note { border-top: 1px dashed var(--line); margin-top: 20px; padding-top: 18px; color: var(--muted); font-size: .9rem; }
.support-note strong { color: var(--ink); }

.hero-slider, .hero-slide { height: 100%; min-height: 548px; }
.hero-slider { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: var(--primary-900); }
.hero-slide { position: relative; display: flex !important; align-items: flex-end; padding: 42px; background-size: cover; background-position: center; isolation: isolate; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3,24,59,.9) 0%, rgba(4,43,93,.26) 60%, rgba(5,55,99,.08) 100%); }
.hero-slide.slide-two { background-position: 65% center; }
.hero-slide.slide-two::before { background: linear-gradient(90deg, rgba(4,40,86,.92), rgba(6,59,107,.38) 70%, rgba(5,55,99,.08)); }
.slide-content { color: #fff; max-width: 590px; }
.slide-badge { display: inline-flex; padding: 7px 12px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(8,174,181,.82); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.slide-content h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.08; text-shadow: 0 2px 14px rgba(0,0,0,.15); }
.slide-content p { max-width: 540px; color: #e8f4ff; font-size: 1.05rem; }
.hero-slider .slick-dots { bottom: 18px; text-align: right; padding-right: 28px; }
.hero-slider .slick-dots { position: absolute; display: block; width: 100%; margin: 0; list-style: none; }
.hero-slider .slick-dots li { position: relative; display: inline-block; width: 18px; height: 18px; margin: 0 3px; padding: 0; cursor: pointer; }
.hero-slider .slick-dots li button { width: 18px; height: 18px; padding: 0; border: 0; background: transparent; color: transparent; font-size: 0; }
.hero-slider .slick-dots li button::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; opacity: .55; }
.hero-slider .slick-dots li.slick-active button::before { background: var(--accent); opacity: 1; }

.trust-strip { margin-top: -26px; position: relative; z-index: 4; }
.trust-card { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 15px 38px rgba(18,54,99,.12); overflow: hidden; }
.trust-item { position: relative; padding: 22px 24px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); transition: background .2s ease; }
.trust-item:hover { background: #f7fbff; }
.trust-item:last-child { border: 0; }
.trust-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #fff !important; background: linear-gradient(145deg,var(--primary),var(--secondary)); box-shadow: 0 9px 20px rgba(15,74,168,.22); }
.trust-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.module-card { position: relative; height: 100%; padding: 28px 26px 26px; overflow: hidden; border: 1px solid #dce7f1; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(20,57,95,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.module-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--module-color); }
.module-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 22px 50px var(--module-shadow); }
.module-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -36px; top: -36px; border-radius: 50%; background: var(--module-soft); }
.module-icon { width: 64px; height: 64px; margin-bottom: 22px; display: grid; place-items: center; color: #fff; border-radius: 19px; background: var(--module-color); box-shadow: 0 14px 27px var(--module-shadow); transition: transform .25s ease; }
.module-card:hover .module-icon { transform: scale(1.07) rotate(-3deg); }
.module-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.module-card h3 { font-size: 1.2rem; font-weight: 800; }
.module-card p { color: var(--muted); font-size: .93rem; min-height: 72px; }
.module-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border-radius: 10px; color: var(--primary); background: #edf4ff; font-weight: 800; font-size: .9rem; transition: color .2s ease, background .2s ease, transform .2s ease; }
.module-link:hover { color: #fff; background: var(--primary); transform: translateY(-2px); }
.module-link:active { transform: translateY(0) scale(.98); }
.module-attt { --module-color: linear-gradient(135deg,#0f4aa8,#2a78dd); --module-soft:#e6f0ff; --module-shadow:rgba(15,74,168,.23); }
.module-nls { --module-color: linear-gradient(135deg,#07969c,#17c3b2); --module-soft:#e1faf8; --module-shadow:rgba(7,150,156,.23); }
.module-ai { --module-color: linear-gradient(135deg,#6d4cbd,#9b6ee0); --module-soft:#f0e9ff; --module-shadow:rgba(109,76,189,.23); }
.module-kns { --module-color: linear-gradient(135deg,#ed7b25,#ffab46); --module-soft:#fff0df; --module-shadow:rgba(237,123,37,.23); }

.journey-panel { padding: 38px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--primary-900), var(--primary) 58%, #078d9e); box-shadow: var(--shadow); }
.journey-panel h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 820; }
.journey-step { position: relative; display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.journey-step:last-child { border: 0; }
.step-number { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 900; }
.journey-step strong { display: block; }
.journey-step span { color: #cfe5ff; font-size: .9rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.metric { min-height: 135px; padding: 20px; display: flex; flex-direction: column; justify-content: end; border-radius: 17px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.metric strong { font-size: 2rem; line-height: 1; }
.metric span { color: #dcecff; font-size: .85rem; margin-top: 7px; }

.article-card { height: 100%; overflow: hidden; border: 1px solid #e0e8f0; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20,57,95,.07); }
.article-visual { min-height: 168px; display: flex; align-items: end; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.article-visual.alt { background: linear-gradient(135deg,#6d4cbd,#0f4aa8); }
.article-visual.warm { background: linear-gradient(135deg,#e66d23,#f2a93b); }
.article-visual .topic-mark { font-size: 2.3rem; font-weight: 900; opacity: .85; }
.article-body { padding: 22px; }
.article-meta { color: var(--secondary); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.article-body h3 { font-size: 1.18rem; font-weight: 800; line-height: 1.4; margin: 8px 0 10px; }
.article-body p { color: var(--muted); font-size: .92rem; }
.ad-slot { min-height: 96px; display: grid; place-items: center; text-align: center; color: #8290a1; border: 1px dashed #cbd7e3; border-radius: 14px; background: #f8fafc; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.register-cta { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg,var(--primary-900),var(--primary)); }
.register-cta::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -170px; border: 64px solid rgba(255,255,255,.07); border-radius: 50%; }
.register-cta .container { position: relative; z-index: 1; }
.btn-light-custom { min-height: 50px; border: 0; border-radius: 13px; background: #fff; color: var(--primary); font-weight: 800; padding-inline: 25px; box-shadow: 0 10px 24px rgba(2,25,63,.16); }
.btn-light-custom:hover { color: var(--primary-700); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(2,25,63,.23); }

.page-hero { padding: 62px 0; color: #fff; background: radial-gradient(circle at 86% 20%,rgba(8,174,181,.35),transparent 25%), linear-gradient(125deg,var(--primary-900),var(--primary)); }
.breadcrumb { margin: 0 0 14px; }
.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item.active { color: #d8eaff; }
.breadcrumb-item+.breadcrumb-item::before { color: #91b5dd; }
.page-hero h1 { font-weight: 850; letter-spacing: -.04em; font-size: clamp(2rem,4vw,3.2rem); }
.page-hero p { max-width: 720px; color: #d7eaff; margin: 12px 0 0; font-size: 1.05rem; }
.article-layout { max-width: 860px; margin: 0 auto; }
.article-layout h2 { margin-top: 34px; font-size: 1.55rem; font-weight: 800; }
.article-layout h3 { margin-top: 27px; font-size: 1.18rem; font-weight: 800; }
.article-layout p, .article-layout li { color: #405269; }
.article-callout { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--secondary); border-radius: 0 14px 14px 0; background: #eef9fa; }
.registration-card { padding: 32px; border: 1px solid #e0e9f2; border-radius: 20px; box-shadow: var(--shadow); background: #fff; }

.site-footer { padding-top: 64px; color: #cbd9eb; background: #071d3b; }
.footer-brand { color: #fff !important; }
.footer-brand .brand-copy small { color: #9eb5d1; }
.footer-copy { max-width: 480px; color: #aebfd3; margin-top: 18px; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 17px; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #b8c9dc; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-style: normal; }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: #fff; }
.footer-bottom { margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.copyright { margin: 0; color: #9eb0c5; font-size: .88rem; }
.socials { display: flex; align-items: center; gap: 8px; }
.social-btn { width: 42px; height: 42px; display: grid; place-items: center; color: #fff !important; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.06); font-size: .9rem; font-weight: 900; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.social-btn:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 20px rgba(0,0,0,.22); }
.back-to-top { position: fixed; right: 22px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 1020; width: 48px; height: 48px; display: none; place-items: center; border: 2px solid rgba(255,255,255,.82); border-radius: 15px; color: #fff; background: linear-gradient(145deg,var(--primary),var(--secondary)); box-shadow: 0 12px 28px rgba(7,37,86,.32); font-size: 1.35rem; transition: transform .2s ease, box-shadow .2s ease; }
.back-to-top.show { display: grid; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(7,37,86,.4); }
.back-to-top:active { transform: translateY(0) scale(.96); }
.btn:focus-visible, .nav-link:focus-visible, .module-link:focus-visible, .social-btn:focus-visible, .back-to-top:focus-visible, .password-toggle:focus-visible { outline: 3px solid rgba(255,155,61,.85); outline-offset: 3px; }
.toast-container { z-index: 2000; }

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link { padding: .55rem !important; font-size: .88rem; }
  .hero-slider, .hero-slide { min-height: 520px; }
}
@media (max-width: 991.98px) {
  html { scroll-padding-top: 84px; }
  .topbar { display: none; }
  .navbar-collapse { padding: 16px 0 8px; }
  .navbar-nav { gap: 3px; }
  .hero { padding-top: 30px; }
  .hero-slider, .hero-slide { min-height: 430px; }
  .login-panel { padding: 32px; }
  .trust-strip { margin-top: 22px; }
  .section-space { padding: 68px 0; }
}
@media (max-width: 767.98px) {
  body { font-size: .97rem; }
  .brand-mark { width: 43px; height: 43px; border-radius: 13px; }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy small { font-size: .66rem; }
  .hero { padding-bottom: 30px; }
  .hero-slider, .hero-slide { min-height: 390px; }
  .hero-slide { padding: 30px 24px 44px; }
  .slide-content h2 { font-size: 2rem; }
  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-grid { margin-top: 22px; }
  .journey-panel { padding: 28px 22px; }
  .section-space { padding: 56px 0; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; }
  .socials { order: -1; }
  .back-to-top { width: 45px; height: 45px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .login-panel { padding: 22px 18px; }
  .hero-slider, .hero-slide { min-height: 360px; }
  .slide-content p { font-size: .93rem; }
  .metric { min-height: 120px; padding: 16px; }
  .metric strong { font-size: 1.55rem; }
  .registration-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
