/* ArgentiniaCloud — маркетинговые страницы: лендинг, тарифы, вход */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 96px; position: relative; }
.section-head { max-width: 720px; margin-bottom: var(--space-12); }
.section-head .t-label { color: var(--red-text); display: block; margin-bottom: var(--space-3); }
.section-head p { margin: var(--space-4) 0 0; color: var(--ink-muted); font-size: 17px; line-height: 28px; }
.center { text-align: center; margin-inline: auto; }

/* шапка */
.site-header { position: sticky; top: 0; z-index: 40; padding-top: var(--space-4); }
.site-header .ax-nav { width: min(1200px, 100% - 32px); margin-inline: auto; }
.site-header .ax-nav-links { justify-content: center; }
.nav-burger { display: none; }

/* герой */
.hero { padding: 72px 0 96px; }
.hero-glow-1 { width: 620px; height: 420px; left: -180px; top: 120px; }
.hero-glow-2 { width: 520px; height: 380px; right: -120px; top: 220px; opacity: .8; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; justify-items: center; }
.hero-copy { text-align: center; max-width: 1040px; }
.hero h1 { margin: var(--space-6) 0 0; font-size: clamp(34px, 6.2vw, 76px); line-height: 1.06; }
.hero-lead { margin: var(--space-6) auto 0; max-width: 640px; font-size: 18px; line-height: 30px; color: var(--ink-muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); margin: var(--space-6) 0 0; padding: 0; list-style: none; color: var(--ink-muted); font-size: 14px; }
.hero .mock { width: min(1040px, 100%); }
.hero-glow-1 { top: 380px; }
.hero-glow-2 { top: 520px; }
.hero-trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-trust .i { color: var(--success); width: 18px; height: 18px; }

/* макет приложения в герое */
.mock { position: relative; border-radius: var(--radius-xl); padding: 0; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: var(--space-3); padding: 14px var(--space-4); border-bottom: 1px solid var(--line); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-fill-strong); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.mock-url { flex: 1; height: 28px; border-radius: var(--radius-full); background: var(--glass-fill); display: flex; align-items: center; gap: 6px; padding: 0 var(--space-3); font-size: 12px; color: var(--ink-muted); font-family: var(--font-mono); min-width: 0; }
.mock-url .i { width: 14px; height: 14px; color: var(--success); }
.mock-body { display: grid; grid-template-columns: 200px 1fr; min-height: 400px; }
.mock-side { padding: var(--space-4) var(--space-3); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.mock-side div { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--radius-sm); }
.mock-side .i { width: 17px; height: 17px; }
.mock-side .on { background: var(--glass-fill-strong); color: var(--ink); }
.mock-side .meter { margin-top: auto; display: block; height: auto; padding: 10px; font-size: 12px; font-weight: 600; }
.mock-side .meter .ax-progress { margin-top: 8px; height: 5px; }
.mock-main { padding: var(--space-4); min-width: 0; }
.mock-crumbs { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); font-weight: 700; font-size: 15px; }
.mock-row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: var(--space-3); align-items: center; height: 46px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 13px; }
.mock-row + .mock-row { border-top: 1px solid var(--line); }
.mock-row .i { color: var(--ink-muted); }
.mock-row .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .mt { color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
.mock-row.sel { background: var(--red-soft); }
.mock-row.sel .i { color: var(--red-text); }
.mock-upload { position: absolute; right: 18px; bottom: 18px; width: 250px; padding: var(--space-4); border-radius: var(--radius-lg); }
.mock-upload .row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: 13px; font-weight: 700; }
.mock-upload .sub { font-size: 12px; color: var(--ink-muted); margin: 2px 0 10px; }
.mock-upload .ax-progress > span { width: 0; animation: mock-fill 4.5s var(--ease) infinite; }
@keyframes mock-fill { 0% { width: 6%; } 70% { width: 100%; } 100% { width: 100%; } }

/* полоса цифр */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.stat { padding: var(--space-6); border-radius: var(--radius-lg); }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 40px; letter-spacing: -.02em; }
.stat span { color: var(--ink-muted); font-size: 14px; }

/* возможности */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.feature .feature-ic { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--glass-fill-strong); box-shadow: var(--shadow-glass); color: var(--red-text); margin-bottom: var(--space-6); }
.feature .ax-card-title { margin-top: 0; }

/* безопасность */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); }
.checklist .i { color: var(--red-text); margin-top: 2px; }
.checklist b { display: block; }
.checklist span { color: var(--ink-muted); }
.terminal { border-radius: var(--radius-lg); padding: 0; overflow: hidden; }
.terminal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--space-4); border-bottom: 1px solid var(--line); }
.terminal pre { margin: 0; padding: var(--space-6); font-family: var(--font-mono); font-size: 13px; line-height: 22px; color: var(--ink-muted); overflow-x: auto; }
.terminal pre .k { color: var(--ink); }
.terminal pre .ok { color: var(--success); }
.terminal pre .r { color: var(--red-text); }
.vault { margin-top: var(--space-4); display: flex; align-items: center; gap: var(--space-4); }
.vault .feature-ic { margin: 0; }

/* устройства */
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.device { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: var(--space-6) var(--space-4); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.device:hover { text-decoration: none; background: var(--glass-fill-strong); box-shadow: var(--shadow-glass-lg); }
.device .i { width: 28px; height: 28px; }
.device b { display: block; font-size: 16px; }
.device span { font-size: 13px; color: var(--ink-muted); }
.device .dl { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--red-text); }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.plan-price { margin: var(--space-6) 0 var(--space-2); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.plan-price span { color: var(--ink-muted); font-size: 14px; }
.plan-old { font-size: 13px; color: var(--ink-faint); min-height: 20px; }
.plan-old s { margin-right: 6px; }
.plan-space { margin: var(--space-4) 0 0; font-weight: 700; font-size: 17px; }
.plan-desc { margin: var(--space-1) 0 var(--space-6); color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.plan ul { list-style: none; margin: 0 0 var(--space-6); padding: var(--space-6) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--space-3); font-size: 14px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-muted); }
.plan .ax-btn { margin-top: auto; }
.plan.is-featured { background: var(--glass-fill-strong); box-shadow: var(--shadow-glass-lg), inset 0 0 0 1px var(--red-soft); }
.plan.is-featured li .i { color: var(--red-text); }
.billing { display: flex; justify-content: center; align-items: center; gap: var(--space-3); margin-bottom: var(--space-8); flex-wrap: wrap; }

/* таблица сравнения */
.compare { border-radius: var(--radius-lg); padding: 0; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.compare th, .compare td { padding: 14px var(--space-6); text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-muted); font-weight: 600; }
.compare thead th { font-size: 15px; font-weight: 700; color: var(--ink); position: sticky; top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .grp td { text-align: left; color: var(--red-text); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: var(--space-6); }
.compare .i { margin-inline: auto; width: 18px; height: 18px; }
.compare .yes { color: var(--success); }
.compare .no { color: var(--ink-faint); }

/* FAQ */
.faq { display: grid; gap: var(--space-3); max-width: 820px; margin-inline: auto; }
.faq details { border-radius: var(--radius-lg); padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); font-weight: 700; font-size: 16px; border-radius: var(--radius-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s var(--ease); color: var(--ink-muted); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 var(--space-6) var(--space-6); color: var(--ink-muted); }

/* CTA */
.cta { border-radius: var(--radius-xl); padding: 64px; position: relative; overflow: hidden; isolation: isolate; background: var(--red-deep); }
.cta::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: var(--red); filter: blur(120px); opacity: .55; }
.cta-x { position: absolute; z-index: -1; right: 48px; bottom: -20px; opacity: .2; }
.cta-x .ax-logo-legs, .cta-x .ax-logo-bar { fill: #ffffff; }
.cta h2 { max-width: 640px; }
.cta p { margin: var(--space-4) 0 var(--space-8); max-width: 520px; color: #f5f5f7cc; font-size: 17px; line-height: 28px; }
.cta .ax-btn-primary { background: #ffffff; color: #0b0b0f; box-shadow: 0 8px 24px -6px #00000080; }
.cta .ax-btn-primary:hover { background: #f5f5f7; }

/* подвал */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 var(--space-8); background: var(--surface); margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); }
.foot-grid h4 { margin: 0 0 var(--space-4); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-grid a { color: var(--ink-muted); }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { margin: var(--space-4) 0 var(--space-6); color: var(--ink-muted); font-size: 14px; max-width: 300px; }
.foot-bottom { margin-top: 56px; padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); color: var(--ink-faint); font-size: 13px; }
.foot-bottom .status { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); }
.foot-bottom .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px #3ddc9726; }

/* вход и регистрация */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(0, 520px); }
.auth-aside { position: relative; padding: var(--space-8) 56px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.auth-aside .ax-glow { width: 560px; height: 440px; left: -120px; bottom: -120px; }
.auth-aside blockquote { margin: 0; max-width: 460px; }
.auth-aside blockquote p { font-family: var(--font-display); font-size: 30px; line-height: 38px; letter-spacing: -.02em; font-weight: 500; margin: 0 0 var(--space-6); }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); color: var(--ink-muted); font-size: 14px; }
.auth-points li { display: flex; gap: var(--space-3); align-items: center; }
.auth-points .i { color: var(--red-text); }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: var(--space-8) 56px; position: relative; }
.auth-main .ax-glow { width: 360px; height: 300px; right: -160px; top: -80px; opacity: .6; }
.auth-form { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.auth-alt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.auth-sep { display: flex; align-items: center; gap: var(--space-3); color: var(--ink-faint); font-size: 13px; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin-top: var(--space-6); text-align: center; color: var(--ink-muted); font-size: 14px; }
.auth-logo { display: none; }
.auth-top { position: absolute; top: var(--space-8); left: 56px; right: 56px; display: flex; justify-content: flex-end; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strength span { height: 4px; border-radius: 2px; background: var(--glass-fill-strong); transition: background-color .2s; }
.strength[data-s="1"] span:nth-child(-n+1) { background: var(--danger); }
.strength[data-s="2"] span:nth-child(-n+2) { background: var(--warning); }
.strength[data-s="3"] span:nth-child(-n+3) { background: var(--success); }
.strength[data-s="4"] span { background: var(--success); }
.form-alert { display: none; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: #ff8a4c1f; color: var(--danger); font-size: 14px; font-weight: 600; }
.form-alert.is-on { display: flex; }

/* адаптив */
@media (max-width: 1100px) {
  .site-header .ax-nav-links, .site-header .nav-hide-md { display: none; }
  .site-header .ax-nav { justify-content: space-between; }
  .nav-burger { display: inline-flex; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .t-display-xl { font-size: 52px; line-height: 58px; }
  .split { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-logo { display: inline-flex; }
  .auth-top { justify-content: space-between; }
}
@media (max-width: 640px) {
  .site-header .nav-cta { display: none; }
  .section { padding-block: 64px; }
  .hero { padding: 40px 0 64px; }
  .t-display-xl { font-size: 38px; line-height: 44px; }
  .t-display { font-size: 32px; line-height: 38px; }
  .features, .plans, .stats { grid-template-columns: 1fr; }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-row { grid-template-columns: 28px 1fr auto; }
  .mock-row .mt:last-child { display: none; }
  .mock-upload { position: static; width: auto; margin: 0 var(--space-4) var(--space-4); }
  .cta { padding: 40px var(--space-6); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-main { padding: 96px var(--space-4) var(--space-8); }
  .auth-top { left: var(--space-4); right: var(--space-4); top: var(--space-4); justify-content: space-between; }
  .auth-alt { grid-template-columns: 1fr; }
}
