.content-section { scroll-margin-top: 108px; }
.content-wrap { padding-top: 52px; }

.account-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 94, 103, .32), transparent 30%),
    radial-gradient(circle at 92% 100%, rgba(99, 216, 181, .17), transparent 34%),
    linear-gradient(135deg, #25082f, #511557 62%, #79234f);
}
.account-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(120deg, transparent 45%, white 45.2%, transparent 45.5%), radial-gradient(circle, white 1px, transparent 1.5px);
  background-size: 150px 150px, 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.account-hero-inner {
  position: relative;
  max-width: 1190px;
  min-height: 560px;
  margin: auto;
  padding: 68px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  align-items: center;
  gap: 65px;
}
.account-hero-copy { min-width: 0; }
.account-hero h1 { max-width: 750px; }
.account-hero p { max-width: 700px; color: #f0dfee; }
.account-hero strong { color: white; }
.account-hero a:not(.agent-button) { color: #8ce5ca; }

.agent-panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 23px;
  background: rgba(34, 7, 43, .5);
  box-shadow: 0 25px 50px rgba(17, 3, 23, .3);
  backdrop-filter: blur(10px);
}
.agent-panel::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -55px;
  width: 145px;
  height: 145px;
  border: 24px solid rgba(99, 216, 181, .1);
  border-radius: 50%;
}
.agent-panel > * { position: relative; z-index: 1; }
.agent-label { color: #ffb5ac; font-size: 8px; font-weight: 850; letter-spacing: 1.6px; }
.agent-panel h2 { margin-top: 10px; color: white; font-size: 31px; }
.agent-panel p { margin: 14px 0 20px; color: #e8d8e9; font-size: 13px; line-height: 1.7; }
.agent-actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
.agent-button {
  min-height: 72px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  box-shadow: 0 11px 23px rgba(17, 4, 23, .2);
  transition: transform .2s, filter .2s;
}
.agent-button:hover { transform: translateY(-4px); filter: brightness(1.06); }
.agent-button.whatsapp { background: linear-gradient(135deg, #168d5b, #25b56e); }
.agent-button.telegram { background: linear-gradient(135deg, #347da6, #4aaee0); }
.agent-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.agent-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.telegram .agent-icon svg { fill: currentColor; stroke: none; }
.agent-button small { display: block; margin-bottom: 4px; color: rgba(255, 255, 255, .72); font-size: 7px; font-weight: 800; letter-spacing: 1.2px; }
.agent-button span:nth-child(2) { font-size: 14px; font-weight: 850; }
.agent-button b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 13px; transition: transform .2s; }
.agent-button:hover b { transform: translateX(3px); }

.preflight-section {
  position: relative;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 40px rgba(53, 19, 68, .07);
}
.preflight-content { max-width: 880px; margin: 24px 0 28px 51px; }
.ownership-reminder {
  margin-left: 51px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cfe8e1;
  border-radius: 15px;
  background: #effaf7;
}
.ownership-reminder > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #168d75; color: white; font-size: 10px; font-weight: 900; }
.ownership-reminder p { margin: 0; color: #4f6c64; font-size: 13px; }

.register-section {
  margin-top: 35px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7eef8;
}
.register-section > .section-heading { margin-bottom: 30px; }
.registration-route {
  padding: 32px;
  border: 1px solid #e4d6e6;
  border-radius: 19px;
  background: white;
}
.registration-route + .registration-route { margin-top: 20px; }
.route-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 23px; }
.route-icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px; background: #ffe9e8; color: var(--coral-dark); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.agent-route .route-icon { background: #e7f7f2; color: #168d75; }
.route-heading h3 { margin: 0; color: var(--plum); font-size: 25px; line-height: 1.25; }
.account-steps, .login-steps { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; }
.account-steps li, .login-steps li {
  min-height: 66px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid #eadfeb;
  border-radius: 13px;
  background: #fdfafd;
  color: #66566b;
  font-size: 13px;
  line-height: 1.65;
}
.step-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-dark); color: white; font-size: 10px; font-weight: 850; }
.agent-route .step-number { background: #168d75; }
.route-note {
  margin-top: 17px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-left: 3px solid var(--coral);
  background: #fff5f3;
}
.agent-route .route-note { border-left-color: #168d75; background: #effaf7; }
.route-note > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 11px; font-weight: 900; }
.agent-route .route-note > span { background: #168d75; }
.route-note p { margin: 0; font-size: 13px; }

.login-section {
  margin-top: 35px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.login-section > .section-heading { margin-bottom: 28px; }
.login-layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
.login-steps .step-number { background: #7352aa; }
.login-note { padding: 18px 20px; display: flex; align-items: center; gap: 15px; border: 1px solid #d9cee9; border-radius: 15px; background: #f5f0fa; }
.login-note-icon { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #7352aa; color: white; font-size: 11px; font-weight: 900; }
.login-note p { margin: 0; font-size: 13px; }

.device-switch-section {
  margin-top: 35px;
  padding: 40px;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  align-items: center;
  gap: 45px;
  border-radius: 23px;
  background: linear-gradient(130deg, var(--plum-deep), #5f1f69);
}
.device-switch-section h2, .device-switch-section p, .device-switch-section strong { color: white; }
.device-switch-section .topic-label { color: #ffaaa8; }
.device-switch-visual { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 19px; background: rgba(255, 255, 255, .06); }
.phone-shape, .desktop-shape { display: grid; place-items: center; color: white; font-size: 10px; font-weight: 900; background: linear-gradient(140deg, var(--coral), #ff8d68); box-shadow: 0 12px 25px rgba(16, 3, 22, .3); }
.phone-shape { width: 57px; height: 98px; border: 5px solid #fbd7d6; border-radius: 13px; }
.desktop-shape { width: 115px; height: 75px; border: 5px solid #d4f3ea; border-radius: 9px; background: linear-gradient(140deg, #1ba48a, #63d8b5); }
.switch-arrow { color: #ffcf99; font-size: 28px; }

.recovery-section { margin-top: 35px; padding: 42px; border: 1px solid #ead5df; border-radius: 24px; background: #fff3f5; }
.recovery-section > .section-heading { margin-bottom: 27px; }
.recovery-flow { display: grid; grid-template-columns: 1fr; gap: 12px; }
.recovery-step { padding: 18px; display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 15px; border: 1px solid #ead4df; border-radius: 14px; background: white; }
.recovery-step > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-dark); color: white; font-size: 11px; font-weight: 900; }
.recovery-step p { margin: 3px 0 0; font-size: 13px; }

.diagnostic-section {
  margin-top: 35px;
  padding: 42px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 45px;
  border: 1px solid #d4e7ed;
  border-radius: 24px;
  background: #f0f8fb;
}
.diagnostic-heading { display: flex; align-items: flex-start; gap: 15px; }
.diagnostic-heading .section-number { background: #347da6; }
.diagnostic-content { padding-left: 25px; border-left: 3px solid #4aaee0; }
.diagnostic-content p:first-child { margin-top: 0; }
.diagnostic-content p:last-child { margin-bottom: 0; }

.account-change-grid { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-change-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 21px; background: white; }
.account-change-card > .section-number { position: absolute; top: 28px; right: 28px; }
.account-change-card h2 { margin: 8px 45px 22px 0; font-size: 27px; }
.account-change-card p:last-child { margin-bottom: 0; }
.screen-card { background: #fff2f4; border-color: #ead4df; }
.account-card { background: #effaf7; border-color: #cfe8e1; }
.account-card > .section-number { background: #168d75; }

.faq-section { margin-top: 35px; }

@media (max-width: 900px) {
  .account-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .agent-panel { max-width: 680px; }
  .device-switch-section, .diagnostic-section { grid-template-columns: 1fr; gap: 28px; }
  .device-switch-visual { min-height: 160px; }
  .diagnostic-content { padding: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .account-hero-inner { min-height: 0; padding: 43px 21px 48px; }
  .account-hero h1 { font-size: 39px; }
  .agent-panel { padding: 24px 20px; }
  .agent-panel h2 { font-size: 27px; }
  .content-wrap { padding-top: 35px; }
  .preflight-section, .register-section, .login-section, .device-switch-section, .recovery-section, .diagnostic-section { padding: 27px 19px; border-radius: 19px; }
  .preflight-content, .ownership-reminder { margin-left: 0; }
  .ownership-reminder { align-items: flex-start; }
  .registration-route { padding: 23px 17px; }
  .route-heading { align-items: flex-start; }
  .route-heading h3 { font-size: 22px; }
  .account-steps li, .login-steps li { min-height: 0; padding: 14px; align-items: start; }
  .route-note { padding: 15px; }
  .device-switch-visual { min-height: 145px; }
  .device-switch-section { gap: 24px; }
  .recovery-step { padding: 15px; }
  .account-change-grid { grid-template-columns: 1fr; gap: 14px; }
  .account-change-card { padding: 27px 20px; }
  .account-change-card h2 { font-size: 24px; }
}
