:root{
  --bg: #f4f8ff;
  --bg-2: #eef4ff;
  --surface: rgba(255,255,255,.74);
  --surface-strong: rgba(255,255,255,.96);
  --surface-soft: rgba(255,255,255,.58);
  --text: #0f172a;
  --muted: #52607a;
  --muted-2: #6b7a90;
  --line: rgba(203, 213, 225, .9);
  --line-strong: rgba(148, 163, 184, .28);
  --white-line: rgba(255,255,255,.6);
  --primary: #2563eb;
  --primary-2: #4f46e5;
  --accent: #06b6d4;
  --accent-2: #7c3aed;
  --success: #16a34a;
  --danger: #ef4444;
  --shadow-xs: 0 6px 18px rgba(15, 23, 42, .05);
  --shadow-sm: 0 10px 26px rgba(15, 23, 42, .07);
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 80px rgba(37, 99, 235, .16);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1240px;
}

html[data-theme="dark"]{
  --bg: #081120;
  --bg-2: #0b1529;
  --surface: rgba(15, 23, 42, .66);
  --surface-strong: rgba(15, 23, 42, .92);
  --surface-soft: rgba(15, 23, 42, .54);
  --text: #e5eefc;
  --muted: #a8b6cf;
  --muted-2: #94a3b8;
  --line: rgba(71, 85, 105, .72);
  --line-strong: rgba(148, 163, 184, .16);
  --white-line: rgba(255,255,255,.08);
  --shadow-xs: 0 8px 20px rgba(0, 0, 0, .18);
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, .24);
  --shadow: 0 20px 50px rgba(0, 0, 0, .30);
  --shadow-lg: 0 30px 90px rgba(37, 99, 235, .18);
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(37,99,235,.12), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(6,182,212,.12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(124,58,237,.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 42%, var(--bg) 100%);
  line-height: 1.65;
}

body.modal-open{ overflow: hidden; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button,input,textarea,select{ font: inherit; }
button{ border: 0; background: none; }

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}



.auth-social-btn:focus-visible {
  outline: none;
  border-color: #ff0000;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.12);
}

.auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 8px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.btn-yandex {
  cursor: pointer;
}

.container{
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

:focus-visible{
  outline: 3px solid rgba(37,99,235,.28);
  outline-offset: 3px;
  border-radius: 12px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  border-bottom: 1px solid var(--white-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled{
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 20px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform .2s ease;
}
.brand:hover{ transform: translateY(-1px); }

.brand-mark{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 58%, var(--accent));
  box-shadow: 0 16px 34px rgba(79, 70, 229, .30);
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-text strong{ font-size: 17px; }
.brand-text small{
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 3px;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list{
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--white-line);
  background: color-mix(in srgb, var(--surface-strong) 60%, transparent);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.nav-list a{
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: .2s ease;
}
.nav-list a:hover{
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 48px;
  padding: 0 14px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.theme-toggle:hover{ transform: translateY(-2px); }

.btn{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}

.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.16) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform .7s ease;
  pointer-events: none;
}
.btn:hover::before{ transform: translateX(130%); }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn[disabled]{
  opacity: .8;
  cursor: wait;
}

.btn-icon{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.btn:hover .btn-icon{ transform: translateX(2px); }

.btn-loader{
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: currentColor;
  border-radius: 50%;
  display: none;
  animation: spin .8s linear infinite;
}

.btn.is-loading .btn-loader{
  display: inline-block;
}
.btn.is-loading .btn-text,
.btn.is-loading .btn-icon{
  opacity: .72;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 58%, var(--accent));
  box-shadow: 0 14px 28px rgba(37,99,235,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover{
  box-shadow: 0 18px 38px rgba(79,70,229,.28), inset 0 1px 0 rgba(255,255,255,.18);
}

.btn-secondary{
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover{
  background: var(--surface-strong);
  border-color: var(--line-strong);
}

.btn-ghost{
  background: color-mix(in srgb, var(--surface-strong) 58%, transparent);
  border-color: var(--line);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-ghost:hover{
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  border-color: var(--line-strong);
}

.btn-lg{
  min-height: 58px;
  padding: 0 24px;
  border-radius: 17px;
}

.nav-toggle{
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: var(--shadow-xs);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only){
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-menu{
  border-top: 1px solid var(--white-line);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-menu-inner{
  display: grid;
  gap: 12px;
  padding: 18px 0 24px;
}
.mobile-menu-inner > a{
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--white-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  box-shadow: var(--shadow-xs);
}
.mobile-theme-wrap{ margin-top: 4px; }
.mobile-theme-toggle{ width: 100%; justify-content: center; }
.mobile-actions{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero{
  position: relative;
  padding: 68px 0 38px;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.16) 0%, rgba(37,99,235,0) 72%);
  pointer-events: none;
}
.hero::after{
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -140px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.13) 0%, rgba(6,182,212,0) 72%);
  pointer-events: none;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero-copy{ position: relative; z-index: 1; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.hero h1{
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -0.05em;
  max-width: 760px;
}
.hero h1 span{
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text{
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 30px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card{
  padding: 16px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat-card strong{
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card span{
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-points{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
.hero-points li{
  position: relative;
  padding-left: 18px;
  font-weight: 600;
}
.hero-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 5px rgba(37,99,235,.08);
}

.hero-media{ position: relative; }
.hero-media::before{
  content: "";
  position: absolute;
  inset: 32px -10px -16px 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(79,70,229,.12), rgba(6,182,212,.10));
  filter: blur(24px);
  z-index: 0;
}
.hero-media img{
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,255,.95));
  border: 1px solid rgba(255,255,255,.75);
  padding: 10px;
}
.hero-badge{
  position: absolute;
  z-index: 2;
  padding: 11px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-badge-top{ top: 22px; left: -16px; }
.hero-badge-bottom{ right: -12px; bottom: 22px; }

.logos{ padding: 18px 0 20px; }
.logos-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-pill{
  padding: 13px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-pill:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.section{ padding: 92px 0; }
.section-alt{
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 28%, transparent), color-mix(in srgb, var(--surface-strong) 12%, transparent));
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.section-head{
  max-width: 780px;
  margin-bottom: 42px;
}
.section-head h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.section-head p{
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.section-head-inline{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  max-width: none;
}
.section-head-center{
  text-align: center;
  margin-inline: auto;
}

.feature-grid,
.benefit-list,
.pricing-grid,
.articles-grid,
.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.article-card,
.sidebar-card,
.cta-box,
.pricing-card,
.step-card,
.testimonial-card,
.demo-box,
.lead-box{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.feature-card::before,
.article-card::before,
.cta-box::before,
.pricing-card::before,
.step-card::before,
.testimonial-card::before,
.demo-box::before,
.lead-box::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 30%, transparent 70%, rgba(37,99,235,.05));
  pointer-events: none;
}

.feature-card{
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(15, 23, 42, .14);
  border-color: rgba(37,99,235,.18);
}
.feature-card img{
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}
.feature-card h3{
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.18;
}
.feature-card p{ margin: 0; color: var(--muted); }

.step-card{
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease;
}
.step-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(15, 23, 42, .14);
}
.step-num{
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 900;
  color: var(--primary);
  background: linear-gradient(180deg, rgba(37,99,235,.12), rgba(79,70,229,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.step-card h3{ margin: 0 0 10px; font-size: 23px; }
.step-card p{ margin: 0; color: var(--muted); }

.benefit-item{
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-item:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.benefit-num{
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  background: linear-gradient(180deg, rgba(37,99,235,.12), rgba(79,70,229,.10));
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.benefit-item h3{ margin: 0 0 8px; font-size: 21px; }
.benefit-item p{ margin: 0; color: var(--muted); }

.testimonials-slider{
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}
.testimonials-track{
  position: relative;
  min-height: 220px;
}
.testimonial-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.testimonial-slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-card{
  padding: 28px;
  height: 100%;
}
.testimonial-card p{
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17px;
}
.testimonial-author{
  display: grid;
  gap: 3px;
}
.testimonial-author strong{ font-size: 16px; }
.testimonial-author span{
  color: var(--muted);
  font-size: 14px;
}
.slider-arrow{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}
.slider-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.slider-dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(148,163,184,.45);
  cursor: pointer;
}
.slider-dot.is-active{
  width: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.pricing-switch{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  margin: 0 auto 28px;
}
.pricing-switch-btn{
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}
.pricing-switch-btn span{
  color: var(--success);
  font-size: 12px;
  margin-left: 6px;
}
.pricing-switch-btn.is-active{
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 58%, var(--accent));
  color: #fff;
}

.pricing-card{
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.pricing-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 23, 42, .15);
}
.pricing-card-featured{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 24px 70px rgba(37,99,235,.16);
}
.pricing-badge{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pricing-plan{
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}
.pricing-card h3{
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.1;
}
.pricing-price{
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}
.pricing-price small{
  font-size: 15px;
  color: var(--muted);
  font-weight: 700;
}
.pricing-desc{
  margin: 0 0 18px;
  color: var(--muted);
}
.pricing-features{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pricing-features li{
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 600;
}
.pricing-features li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}
.pricing-btn{ width: 100%; }

.demo-box{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 30px;
  align-items: center;
}
.demo-copy h2{
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
}
.demo-copy p{
  margin: 0 0 18px;
  color: var(--muted);
}
.demo-points{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
.demo-points li{
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 600;
}
.demo-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .63em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.demo-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.demo-tabs{
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  margin-bottom: 16px;
}
.demo-tab{
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.demo-tab.is-active{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.demo-panels{
  position: relative;
}
.demo-panel{
  display: none;
}
.demo-panel.is-active{
  display: block;
  animation: fadeUp .35s ease;
}
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}
.demo-media img{
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,255,.95));
  border: 1px solid rgba(255,255,255,.75);
  padding: 10px;
}

.fake-dashboard{
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,255,.95));
  border: 1px solid rgba(255,255,255,.75);
  padding: 18px;
}
.fake-top{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.fake-kpi{
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  border: 1px solid var(--line);
}
.fake-kpi strong{
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}
.fake-kpi span{
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.fake-table,
.fake-bars{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
}
.fake-row{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
}
.fake-row:last-child{ border-bottom: 0; }
.fake-row-head{
  font-weight: 800;
  color: var(--muted);
}
.ok{ color: var(--success); font-weight: 800; }
.warn{ color: #d97706; font-weight: 800; }
.bar-item{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.bar-item:last-child{ margin-bottom: 0; }
.bar-item span{
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.bar{
  height: 14px;
  border-radius: 999px;
  background: rgba(148,163,184,.18);
  overflow: hidden;
}
.bar i{
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.article-card{ transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.article-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 23, 42, .15);
  border-color: rgba(37,99,235,.18);
}
.article-thumb{
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(240,247,255,.95));
  overflow: hidden;
}
.article-thumb img{
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .45s ease;
}
.article-card:hover .article-thumb img{ transform: scale(1.04); }

.article-body{ padding: 24px; }
.article-meta{
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.article-meta span:first-child{
  color: var(--primary);
  font-weight: 800;
}
.article-body h3{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.22;
}
.article-body p{
  margin: 0 0 16px;
  color: var(--muted);
}

.text-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
}
.text-link-icon{
  width: 17px;
  height: 17px;
  transition: transform .2s ease;
}
.text-link:hover{ color: var(--primary-2); }
.text-link:hover .text-link-icon{ transform: translateX(2px); }

.lead-box{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  padding: 30px;
}
.lead-copy h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}
.lead-copy p{
  margin: 0;
  color: var(--muted);
}
.subscribe-form{
  display: flex;
  gap: 14px;
  align-items: end;
}
.subscribe-form .form-field{ flex: 1 1 auto; }

.form-field{
  display: grid;
  gap: 8px;
}
.form-label{
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="password"]{
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
input::placeholder{ color: var(--muted-2); }
input:focus{
  border-color: rgba(37,99,235,.42);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.floating-field{
  position: relative;
  gap: 0;
}
.floating-field input{
  padding-top: 22px;
  padding-bottom: 10px;
}
.floating-label{
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--muted-2);
  pointer-events: none;
  transition: transform .18s ease, font-size .18s ease, top .18s ease, color .18s ease;
}
.floating-field input:focus + .floating-label,
.floating-field input:not(:placeholder-shown) + .floating-label{
  top: 8px;
  font-size: 12px;
  color: var(--primary);
}

.field-error{
  min-height: 18px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  padding-top: 6px;
}
.input-invalid{
  border-color: rgba(239,68,68,.7) !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,.08) !important;
}

.cta-box{
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(79,70,229,.10), transparent 32%),
    radial-gradient(circle at left bottom, rgba(6,182,212,.08), transparent 26%),
    var(--surface);
}
.cta-box h2{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}
.cta-box p{ margin: 0; color: var(--muted); }
.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list{
  display: grid;
  gap: 16px;
}
.faq-item{
  background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
  border: 1px solid var(--white-line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.faq-item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.faq-item summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-item p{
  color: var(--muted);
  margin: 12px 0 0;
}

.site-footer{
  border-top: 1px solid var(--white-line);
  background: color-mix(in srgb, var(--surface-strong) 52%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0 26px;
}
.footer-brand{ margin-bottom: 14px; }
.footer-text{
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}
.footer-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-links a,
.footer-modal-link{ color: var(--muted); }
.footer-links a:hover,
.footer-modal-link:hover{ color: var(--text); }
.footer-modal-link{
  padding: 0;
  cursor: pointer;
}
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-strong);
  padding: 18px 0 24px;
  color: var(--muted);
}

.toast{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 3000;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.toast.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.toast-inner{
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.toast-inner strong{ font-size: 14px; }
.toast-inner span{
  color: var(--muted);
  font-size: 14px;
}

.mobile-sticky-cta{
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1200;
}
.mobile-sticky-cta .btn{
  width: 100%;
  min-height: 56px;
  box-shadow: 0 18px 45px rgba(37,99,235,.28);
}

[hidden] {
  display: none !important;
}

.modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(2, 8, 23, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal{
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-dialog{
  position: relative;
  width: min(1040px, 100%);
  animation: modalIn .28s ease;
}
@keyframes modalIn{
  from{ opacity: 0; transform: translateY(10px) scale(.985); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.auth-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow-lg);
}
.auth-side{
  position: relative;
  padding: 42px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.24), transparent 35%),
    radial-gradient(circle at bottom right, rgba(6,182,212,.16), transparent 34%),
    linear-gradient(135deg, #1d4ed8, #4f46e5 58%, #06b6d4);
  color: #fff;
}
.auth-side-register{
  background:
    radial-gradient(circle at top left, rgba(124,58,237,.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(6,182,212,.18), transparent 34%),
    linear-gradient(135deg, #2563eb, #7c3aed 55%, #06b6d4);
}
.auth-badge{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.auth-side h2{
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}
.auth-side p{
  margin: 0 0 24px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
}
.auth-points{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.auth-points li{
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.auth-points li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.auth-form-wrap{
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 98%, transparent), color-mix(in srgb, var(--surface-strong) 92%, transparent));
}
.auth-form-wrap h3{
  margin: 0 0 50px;
  font-size: 32px;
  line-height: 1.08;
}
.auth-form-text{
  margin: 0 0 24px;
  color: var(--muted);
}
.auth-form{
  display: grid;
  gap: 14px;
}
.auth-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.auth-row a{
  color: var(--primary);
  font-weight: 700;
}
.auth-submit{
  width: 100%;
  min-height: 54px;
}
.auth-switch{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.link-button{
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.checkbox{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
}
.checkbox-block{ align-items: flex-start; }
.checkbox input{
  accent-color: var(--primary);
  margin-top: 2px;
}

.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px){
  .hero-grid,
  .demo-box,
  .lead-box,
  .auth-card{
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .benefit-list,
  .articles-grid,
  .pricing-grid,
  .footer-grid,
  .steps-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box{
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge-top{ left: 10px; }
  .hero-badge-bottom{ right: 10px; }
  .auth-card{ min-height: auto; }
}

@media (max-width: 760px){
  .container{
    width: min(var(--container), calc(100% - 28px));
  }

  .nav-list,
  .header-actions .btn,
  .header-actions .theme-toggle{
    display: none;
  }

  .nav-toggle{ display: inline-flex; }
  .header-inner{ min-height: 80px; }

  .hero{
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .hero-grid{ gap: 28px; }
  .hero h1{ font-size: clamp(34px, 10vw, 48px); }
  .hero-text{ font-size: 16px; }
  .hero-stats{ grid-template-columns: 1fr; }
  .hero-badge{
    position: static;
    display: inline-flex;
    margin-top: 12px;
  }
  .hero-media{
    display: grid;
    gap: 12px;
  }

  .feature-grid,
  .benefit-list,
  .articles-grid,
  .pricing-grid,
  .footer-grid,
  .steps-grid,
  .fake-top{
    grid-template-columns: 1fr;
  }

  .section{ padding: 64px 0; }
  .section-head-inline{
    align-items: start;
    flex-direction: column;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box,
  .feature-card,
  .benefit-item,
  .article-body,
  .faq-item,
  .pricing-card,
  .step-card,
  .testimonial-card,
  .demo-box,
  .lead-box{
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-actions{ flex-direction: column; }
  .mobile-actions .btn{ width: 100%; }

  .subscribe-form{
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe-form .btn{ width: 100%; }

  .mobile-sticky-cta{ display: block; }
  .site-footer{ padding-bottom: 82px; }

  .modal{ padding: 10px; }
  .modal-dialog{ width: 100%; }
  .modal-close{
    top: 10px;
    right: 10px;
  }

  .auth-side,
  .auth-form-wrap{
    padding: 24px;
  }

  .auth-side h2{ font-size: 32px; }
  .auth-form-wrap h3{ font-size: 28px; }

  .testimonials-slider{
    grid-template-columns: 1fr;
  }
  .slider-arrow{
    display: none;
  }

  .fake-row{
    grid-template-columns: 1fr 1fr;
  }

  .bar-item{
    grid-template-columns: 1fr;
  }
}