/* Основные стили с градиентами */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --radius-12: 12px;
    --radius-16: 16px;
    --surface: rgba(255,255,255,0.92);

    --primary-gradient: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --secondary-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --accent-gradient: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --mri-gradient: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
    --ct-gradient: linear-gradient(135deg, #e17055 0%, #fab1a0 100%);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-hard: 0 25px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Анимации */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 123, 255, 0.6); }
}

/* Шапка с улучшенным дизайном */
.topbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Логотип с заглушкой */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 16px;
}

.brand__logo-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f1f2f6 0%, #dfe4ea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ced6e0;
    color: #747d8c;
    font-size: 14px;
    font-weight: 600;
}



.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  height: 36px;      /* подгони под хедер */
  width: auto;
  display: block;
}



/* Лого-буква (как в HTML) */

.brand__logo-placeholder::before {
    content: "LOGO";
}

.brand__text {
    display: flex;
    flex-direction: column;
}

#solutions .pricing{
  padding: 22px;                 /* было 44px */
  border-radius: 18px;           /* было 24px */
}

#solutions .pricing__top{
  gap: 14px;                     /* было 24px */
  margin-bottom: 18px;           /* было 40px */
  padding-bottom: 14px;          /* было 30px */
}

#solutions .pricing__media svg{
  width: 36px;                   /* было 72 */
  height: 36px;                  /* было 72 */
}

#solutions .price{
  font-size: 28px;               /* было 56px */
  margin: 14px 0 6px;            /* было 30px 0 10px */
}

#solutions .list{
  margin: 16px 0;                /* было 40px 0 */
}

#solutions .list li{
  padding: 10px 0;
  padding-left: 26px;            /* было 36px */
  font-size: 13.5px;
}

#solutions .list li:before{
  font-size: 16px;
}

#solutions .pricing .btn{
  padding: 12px 18px;            /* компактнее кнопка */
  font-size: 14px;
}

.nav-phone {
  margin-left: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.nav-phone:hover {
  opacity: 0.85;
}


/* ===== QR section ===== */
.qr-block{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;

  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}

.qr-block__img{
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}

.qr-block__text{
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  background: linear-gradient(135deg, #2d3436 0%, #0984e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile optimization */
@media (max-width: 768px){
  .qr-block{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }
  .qr-block__img{
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .qr-block__text{
    font-size: 24px;
  }
}



/* Упрощенная навигация - только смена цвета фона */
.nav {
    display: flex;
    gap: 10px;
    background: transparent;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: #2d3436;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav a:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav a:focus-visible{
    outline: none;
    border-color: rgba(9, 132, 227, 0.45);
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.12);
}

.nav a[href*="login"]:hover,
.nav a[href*="register"]:hover {
    background: #0984e3;
    color: white;
}


/* ===== HOW IT WORKS BACKGROUND ===== */
.section--how {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

/* общий класс */
.how-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.35;
}

/* монитор */
.how-bg--desktop {
  top: 50%;
  left: -10%;
  width: 900px;
  height: 520px;
  transform: translateY(-50%);
  background: url("/assets/desktop_viewer_xray.png") no-repeat center / contain;
}

/* телефон */
.how-bg--mobile {
  bottom: -40px;
  right: -40px;
  width: 320px;
  height: 640px;
  transform: rotate(-6deg);
  background: url("/assets/mobile_viewer.png") no-repeat center / contain;
  opacity: 0.45;
  filter: blur(1.5px);
}



.section--how .container {
  position: relative;
  z-index: 2;
}


.section--how .glass-step {
  background: rgba(15, 20, 30, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



/* Войти / Регистрация */
.nav .nav__auth{
    border-color: rgba(9, 132, 227, 0.25);
    background: rgba(9, 132, 227, 0.06);
    color: #0984e3;
}
.nav .nav__auth:hover{
    background: rgba(9, 132, 227, 0.12); /* меняется только фон */
}

/* Основные кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hard);
}

.btn--ghost {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.btn--ghost:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 40px;
    font-size: 17px;
    border-radius: 16px;
}

/* Герой секция с темным оверлеем 50% */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% прозрачности черного */
    z-index: 2;
}

.hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
    padding: 48px 0;
}

.hero__title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.grad {
    background: linear-gradient(135deg, #74b9ff 0%, #00cec9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__lead {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin: 30px 0 40px;
    font-weight: 400;
    line-height: 1.7;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero__cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero__pills{
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 26px;
}
.pill{
    display:inline-flex;
    align-items:center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Карточка */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-hard);
    color: #2d3436;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.8s ease-out 0.8s both;
}

.card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.card__title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e6ebec 0%, #90d3fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
}

.check {
    list-style: none;
}

.check li {
    padding: 14px 0;
    position: relative;
    padding-left: 36px;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.check li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
    font-size: 18px;
    width: 28px;
    height: 28px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Секции */
.section {
    padding: 72px 0;
}

.section--soft {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f2f6 100%);
    position: relative;
}

.section__head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 56px;
}

.section__head h2 {
    font-size: 42px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2d3436 0%, #0984e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section__head h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section__head p {
    font-size: 24px;
    color: #384246;
    line-height: 1.8;
    font-weight: bold;
}

/* Сетка */
.grid {
    display: grid;
    gap: 32px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Улучшенные иконки для раздела "Преимущества" */
.feature {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

.feature__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: white;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Детализированные иконки для Преимуществ */
#benefits .feature__icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Индивидуальные иконки для каждого преимущества */
#benefits .feature:nth-child(1) .feature__icon {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

#benefits .feature:nth-child(2) .feature__icon {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}

#benefits .feature:nth-child(3) .feature__icon {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #2d3436;
    font-weight: 700;
}

/* Секция "Как это работает" с картинками */
#workflow {
    position: relative;
}

#workflow .grid--2 {
    align-items: stretch;
}

#workflow .feature {
    display: flex;
    flex-direction: column;
}

#workflow .feature__content {
    flex: 1;
}

/* Детализированные иконки для "Как это работает" */
#workflow .feature__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 25px;
}

#workflow .feature:nth-child(1) .feature__icon {
    background: linear-gradient(135deg, #e17055 0%, #fab1a0 100%);
}

#workflow .feature:nth-child(2) .feature__icon {
    background: linear-gradient(135deg, #fdcb6e 0%, #ffeaa7 100%);
}

#workflow .feature:nth-child(3) .feature__icon {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

#workflow .feature:nth-child(4) .feature__icon {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

#workflow .feature__icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

/* Контейнеры для картинок в секции "Как это работает" */
.medical-image-container {
    margin-top: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.medical-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.medical-image:hover {
    transform: scale(1.02);
}

/* Специфичные стили для каждой картинки */
#workflow .feature:nth-child(1) .medical-image-container {
    border-top: 4px solid #e17055;
}

#workflow .feature:nth-child(2) .medical-image-container {
    border-top: 4px solid #fdcb6e;
}

#workflow .feature:nth-child(3) .medical-image-container {
    border-top: 4px solid #00b894;
}

#workflow .feature:nth-child(4) .medical-image-container {
    border-top: 4px solid #6c5ce7;
}

/* Цены */
.pricing {
    background: white;
    border-radius: 24px;
    padding: 44px;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
}

.pricing:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

.pricing--accent {
    border: 2px solid #0984e3;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pricing__top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.pricing__media {
    flex-shrink: 0;
}

.price {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #0984e3 0%, #00cec9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 30px 0 10px;
    line-height: 1;
}

.list {
    list-style: none;
    margin: 40px 0;
}

.list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 36px;
    font-size: 15px;
}

.list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0984e3;
    font-weight: bold;
    font-size: 18px;
}

/* Форма */
.form {
    background: white;
    padding: 44px;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form label {
    display: block;
    margin-bottom: 24px;
}

.form label span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3436;
    font-size: 15px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: #0984e3;
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

.form__actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

/* FAQ */
.faq details {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.faq details:hover {
    border-color: rgba(9, 132, 227, 0.2);
}

.faq summary {
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    list-style: none;
    color: #2d3436;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 22px;
    width: 32px;
    height: 32px;
    background: rgba(9, 132, 227, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0984e3;
    transition: all 0.3s;
}

.faq p {
    margin-top: 20px;
    color: #636e72;
    padding-left: 20px;
    line-height: 1.7;
}


/* Кнопка "Наверх" */
.to-top{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background: rgba(255,255,255,0.9);
    color: #2d3436;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
    z-index: 1001;
}
.to-top:hover{
    background: rgba(0,0,0,0.06);
}
.to-top--show{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* Подвал */
.footer {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 40px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links {
    display: flex;
    gap: 40px;
}

.footer__links a {
    color: #b2bec3;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.footer__links a:hover {
    color: white;
}

/* Дополнительные элементы */
.callout {
    background: linear-gradient(135deg, 
        rgba(9, 132, 227, 0.05) 0%,
        rgba(116, 185, 255, 0.05) 100%);
    border-left: 4px solid #0984e3;
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.callout__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3436;
}

.bul {
    list-style: none;
    padding-left: 0;
}

.bul li {
    padding: 10px 0 10px 36px;
    position: relative;
    color: #636e72;
}

.bul li::before {
    content: '•';
    position: absolute;
    left: 20px;
    color: #0984e3;
    font-size: 22px;
    line-height: 1;
}

.tablewrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}

table th {
    padding: 20px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #636e72;
}

/* Утилиты */
.muted {
    color: #636e72;
}

.small {
    font-size: 14px;
}

.reveal {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

/* =========================
   Liquid glass (iOS-like)
   ========================= */

:root{
    --glass-bg: rgba(255,255,255,0.14);
    --glass-bg-strong: rgba(255,255,255,0.22);
    --glass-border: rgba(255,255,255,0.28);
    --glass-border-weak: rgba(255,255,255,0.18);
    --glass-shadow: 0 18px 60px rgba(0,0,0,0.12);
    --glass-inset: inset 0 1px 0 rgba(255,255,255,0.25);
}

.glass{
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}



.card--glass {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px) saturate(120%);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.card--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.05) 40%,
    rgba(255,255,255,0.02)
  );
  opacity: 0.35;
  pointer-events: none;
  border-radius: inherit;
}





.card--glass .card__head{
    border-bottom: 1px solid rgba(255,255,255,0.18);
}



.card--glass .check li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0,0,0,0.06);
}

.card--glass .check li:before{
    background: rgba(9, 132, 227, 0.12);
    color: #0984e3;
}

.card--glass .btn--primary{
    box-shadow: 0 18px 50px rgba(9, 132, 227, 0.30);
}

/* Small definition block */
.glass-note{
    margin-top: 18px;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.10), rgba(0, 206, 201, 0.06));
    border: 1px solid rgba(9, 132, 227, 0.14);
    box-shadow: var(--shadow-soft);
}
.glass-note__title{
    font-weight: 900;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
}
.glass-note__text{
    margin: 0;
    color: #2d3436;
}

/* Workflow - stacked steps */
.workflow-stack{
    display: grid;
    gap: 16px;
}

.wf-step{
    border-radius: 22px;
    padding: 22px;
    display: grid;
    grid-template-columns: 54px 1fr 220px;
    gap: 18px;
    align-items: center;
    transition: transform .25s ease, box-shadow .25s ease;
    color: #2d3436;
}

.wf-step:hover{
    transform: translateY(-3px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.14), var(--glass-inset);
}

.wf-step__icon{
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(9, 132, 227, 0.12);
    border: 1px solid rgba(9, 132, 227, 0.18);
    color: #0984e3;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.wf-step__content h3{
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900;
}
.wf-step__content p{
    margin: 0;
    font-size: 15px;
}

.wf-step__art{
    justify-self: end;
    width: 220px;
    height: 140px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.wf-art{
    width: 100%;
    height: 100%;
    display: block;
    color: #0984e3;
}

/* Banner with background placeholder */
.glass-banner{
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.28);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.10));
    box-shadow: 0 22px 80px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.25);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.glass-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background-image: var(--banner-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
    opacity: .35;
    pointer-events:none;
}

.glass-banner::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(60% 80% at 20% 20%, rgba(255,255,255,0.40), transparent 55%),
                radial-gradient(60% 80% at 80% 30%, rgba(9,132,227,0.22), transparent 60%),
                linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.18));
    pointer-events:none;
}

.glass-banner__inner{
    position: relative;
    z-index: 1;
    padding: 26px;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.glass-banner__title{
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.glass-banner__text{
    font-size: 16px;
    line-height: 1.7;
}

.glass-banner__hint{
    margin-top: 12px;
    color: rgba(255,255,255,0.78);
}

/* Big bullets glass panel */
.glass-panel{
    border-radius: 24px;
    padding: 26px 26px;
    background: linear-gradient(135deg, rgba(9,132,227,0.08), rgba(0,206,201,0.05));
    border: 1px solid rgba(9,132,227,0.14);
    box-shadow: var(--shadow-medium);
}

.glass-bul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.glass-bul li{
    position: relative;
    padding-left: 40px;
    color: #2d3436;
    line-height: 1.65;
}
.glass-bul li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(9,132,227,0.12);
    border: 1px solid rgba(9,132,227,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.glass-bul li::after{
    content: "✓";
    position: absolute;
    left: 8px;
    top: 4px;
    color: #0984e3;
    font-weight: 900;
}

@media (max-width: 992px){
    .wf-step{
        grid-template-columns: 54px 1fr;
    }
    .wf-step__art{
        grid-column: 1 / -1;
        width: 100%;
        height: 160px;
        justify-self: stretch;
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero__inner {
        gap: 60px;
    }
    
    .hero__title {
        font-size: 46px;
    }
}

@media (max-width: 992px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }
    
    .hero__lead {
        font-size: 18px;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .section__head h2 {
        font-size: 32px;
    }
    
    .feature,
    .pricing,
    .form {
        padding: 30px;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 20px;
    }
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #2d3436;
    font-size: 22px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-hard);
        flex-direction: column;
        border-radius: 0 0 20px 20px;
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
}