* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f7fbff;
  color: #1a1a1a;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-weight: bold;
  color: #007bff;
}

/* BUTTON */
.btn {
  background: #007bff;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #0056cc;
}

.btn.big {
  padding: 14px 22px;
  font-size: 16px;
}

/* HERO */
.hero {
  padding: 60px 0!important;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 20px;
  color: #555;
}

.mock {
  width: 300px;
  height: 400px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border-radius: 20px;
}

/* STEPS */
.steps {
  padding: 60px 0;
  text-align: center;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.steps .grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
}

.card span {
  font-size: 24px;
  color: #007bff;
}

/* FEATURES */
.features {
  background: #eef6ff;
  padding: 60px 0;
  text-align: center;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* FORM */
.form-section {
  padding: 60px 0;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: auto;
}

input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.success {
  color: green;
  display: none;
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  background: white;
  border-top: 1px solid #e5e5e5;
}

/* ADAPTIVE */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
  }
  
	.logo img {
		width: 200px;
		margin-top: 15px;
	}
  
}

/* ДОБАВЬ В КОНЕЦ ФАЙЛА */

.hero-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-window {
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}

/* сообщения */
.message {
  background: #007bff;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.delay1 {
  animation-delay: 1s;
}

.delay2 {
  animation-delay: 2s;
}

/* бесконечная анимация */
.chat-window::after {
  content: "Новая заявка...";
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #eaf4ff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #007bff;
  animation: pulse 2s infinite;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* STEPS UPGRADE */

.subtitle {
  text-align: center;
  margin-top: 10px;
  color: #666;
}

.steps-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.step-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  width: 260px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-card .icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.step-card p {
  color: #555;
  font-size: 14px;
}

/* стрелки */
.arrow {
  font-size: 28px;
  color: #007bff;
  animation: arrowMove 1.5s infinite;
}

/* анимация стрелок */
@keyframes arrowMove {
  0% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(5px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.4; }
}

/* адаптив */
@media (max-width: 768px) {
  .steps-flow {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

/* HERO STRIPE LEVEL */

.hero {
  padding: 80px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.badge {
  display: inline-block;
  background: #eaf4ff;
  color: #007bff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #007bff;
}

.hero-text p {
  color: #555;
  margin-bottom: 25px;
  font-size: 16px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hint {
  color: #777;
  font-size: 14px;
}

/* CHAT */

.hero-visual {
  position: relative;
}

.chat {
  width: 320px;
  height: 420px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* сообщения */
.msg {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: msgIn 0.5s forwards;
}

.incoming {
  background: #eef6ff;
  color: #333;
}

.outgoing {
  background: #007bff;
  color: white;
  align-self: flex-end;
}

/* задержки */
.delay1 { animation-delay: 0.7s; }
.delay2 { animation-delay: 1.4s; }
.delay3 { animation-delay: 2.2s; }

/* анимация появления */
@keyframes msgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* бесконечный поток */
.chat::after {
  content: "Новая заявка...";
  font-size: 13px;
  color: #007bff;
  margin-top: auto;
  opacity: 0.5;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* адаптив */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        z-index: 999;
        position: relative;
    }

  .hero-text h1 {
    font-size: 32px;
  }
}

/* PIPELINE */

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
  flex-wrap: wrap;
}

.pipe-step {
  text-align: center;
  width: 220px;
}

.circle {
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

.line {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, #007bff, transparent);
  animation: flow 2s infinite;
}

@keyframes flow {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

.pipe-step h3 {
  margin-bottom: 8px;
}

.pipe-step p {
  font-size: 14px;
  color: #555;
}

/* адаптив */
@media (max-width: 768px) {
  .pipeline {
    flex-direction: column;
  }

  .line {
    width: 2px;
    height: 40px;
  }
}

.hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

/* световые пятна */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero::before {
  background: #007bff;
  top: -100px;
  left: -100px;
}

.hero::after {
  background: #00c6ff;
  bottom: -100px;
  right: -100px;
}

.chat {
  width: 320px;
  height: 420px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,123,255,0.05);
}


.steps {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  overflow: hidden;
}

/* лёгкий декоративный слой */
.steps::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,123,255,0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.pipe-step {
  text-align: center;
  width: 240px;
  padding: 20px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: 0.3s;
}

.pipe-step:hover {
  transform: translateY(-6px);
}

/* линии — более “живые” */
.line {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  animation: flow 2s infinite;
}

.divider {
  height: 80px;
  background: linear-gradient(to bottom right, #ffffff 50%, #f2f8ff 50%);
}

.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #eaf4ff, transparent 40%),
              radial-gradient(circle at 80% 30%, #d6f0ff, transparent 40%),
              linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

/* движущиеся blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 12s infinite ease-in-out;
}

.hero::before {
  background: #007bff;
  top: -150px;
  left: -150px;
}

.hero::after {
  background: #00c6ff;
  bottom: -150px;
  right: -150px;
  animation-delay: 4s;
}

@keyframes float {
  0% { transform: translate(0,0); }
  50% { transform: translate(40px, 60px); }
  100% { transform: translate(0,0); }
}

.chat {
  width: 340px;
  height: 440px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}

/* сообщения */
.msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 80%;
  animation: msgSlide 0.5s ease forwards;
}

.incoming {
  background: #eef6ff;
}

.outgoing {
  background: #007bff;
  color: white;
  align-self: flex-end;
}

@keyframes msgSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.line {
  position: relative;
  height: 2px;
  width: 100px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  overflow: hidden;
}

/* бегущая точка */
.line::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #007bff;
  border-radius: 50%;
  top: -4px;
  left: 0;
  animation: moveDot 2s linear infinite;
}

@keyframes moveDot {
  0% { left: 0; }
  100% { left: 100%; }
}

.pipe-step {
  text-align: center;
  width: 240px;
  padding: 25px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: 0.4s;
}

.pipe-step:hover {
  transform: translateY(-8px) scale(1.02);
}

.divider {
  height: 120px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,1) 50%,
    rgba(242,248,255,1) 50%
  );
}

/* сообщение заявки */
.msg.lead {
  background: linear-gradient(135deg, #007bff, #009dff);
  color: white;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  animation: msgSlide 0.5s ease;
  box-shadow: 0 8px 20px rgba(0,123,255,0.25);
}

/* убираем старые incoming/outgoing если есть */
.incoming, .outgoing {
  display: none;
}

/* сообщение заявки */
.msg.lead {
  background: linear-gradient(135deg, #007bff, #009dff);
  color: white;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  animation: msgSlide 0.5s ease;
  box-shadow: 0 8px 20px rgba(0,123,255,0.25);
}

/* убираем старые incoming/outgoing если есть */
.incoming, .outgoing {
  display: none;
}

.msg.lead {
  background: linear-gradient(135deg, #007bff, #009dff);
  color: white;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(0,123,255,0.25);

  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: all 0.4s ease;
}

/* активное состояние */
.msg.lead.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* PHONE FRAME */

.phone {
  width: 360px;
  height: 720px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.25),
    0 10px 30px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
  transition: 0.4s;
}

.phone:hover {
  transform: rotate(0deg) scale(1.02);
}

/* экран */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #f7fbff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* челка */
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* чуть отступ сверху для чата */
.chat {
  padding-top: 40px;
}

.phone-screen {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

/* эффект стекла */
.phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    transparent
  );
  border-radius: 40px;
  pointer-events: none;
}

.phone {
  width: 320px;
  height: 640px; /* было слишком длинно */
  background: #111;
  border-radius: 36px;
  padding: 10px;
  position: relative;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.25),
    0 10px 30px rgba(0,0,0,0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* ключевое */
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.status-bar {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #333;
}

.status-bar .icons {
  display: flex;
  gap: 6px;
}

.chat {
  flex: 1; /* ВАЖНО — растягивается */
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat {
  padding-top: 40px;
}

/* FORM SECTION BACKGROUND */
.form-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  position: relative;
}

/* карточка */
.form-card {
  max-width: 520px;
  margin: auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.5);
}

/* заголовок */
.form-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

/* input группа */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  outline: none;
  font-size: 14px;
  background: white;
  transition: 0.2s;
}

/* focus эффект */
.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
}

/* label как placeholder */
.input-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 13px;
  color: #888;
  pointer-events: none;
  transition: 0.2s;
}

/* анимация label */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  background: white;
  padding: 0 5px;
  color: #007bff;
}

/* кнопка */
.btn.full {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  margin-top: 10px;
}

/* success */
.success {
  text-align: center;
  margin-top: 15px;
  color: green;
  display: none;
}

#form {
	background: #007bff;
}

button.btn.big.full {
    cursor: pointer;
    border: none;
}

header .btn {
    height: 40px;
    margin-top: 10px;
}

header.header {
    z-index: 9999 !important;
}

/* MAX BADGE */
.max-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #4CAF50;
    border: 1px solid rgba(0, 123, 255, 0.15);
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    transition: 0.3s;
    width: fit-content;
    font-weight: bold;
}

.max-badge img {
  width: 18px;
  height: 18px;
}

.max-badge:hover {
    background: rgb(55 137 59);
    transform: translateY(-2px);
}

nav {
    margin-top: 22px;
}

nav a {
    text-decoration: none;
}


footer a {
    text-decoration: none;
    color: #2f8eff;
}

.error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
}

/* контейнер страницы */
.form-page {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 15px;
}

/* карточка */
.form-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
	margin-bottom: 30px;
}

/* заголовок */
.form-card h2 {
    margin-bottom: 5px;
}

.form-subtitle {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

/* поля */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #007aff;
}

/* подсказка */
.hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* кнопки */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* адаптив */
@media (max-width: 768px) {
    .form-card {
        padding: 18px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* базовая кнопка */
button,
.btn-primary,
.btn-outline,
.btn-ghost {
    font-size: 14px;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

/* PRIMARY */
.btn-primary {
    background: #007aff;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,122,255,0.2);
}

.btn-primary:hover {
    background: #0066d6;
    box-shadow: 0 4px 10px rgba(0,122,255,0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,122,255,0.2);
}

/* OUTLINE */
.btn-outline {
    background: #fff;
    border: 1px solid #007aff;
    color: #007aff;
}

.btn-outline:hover {
    background: #007aff;
    color: #fff;
}

/* GHOST */
.btn-ghost {
    background: transparent;
    color: #555;
}

.btn-ghost:hover {
    background: #f1f3f5;
}

/* DISABLED */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* компактная кнопка */
.btn-sm {
    padding: 5px 10px;
    font-size: 13px;
}


body {
    font-family: Arial, sans-serif;
    background: #f5f6f8;
}

/* header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* кнопки */
.btn-primary {
    background: #007aff;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0066d6;
}

.btn-outline {
    background: #f5f6f8;
    border: 1px solid #007aff;
    color: #007aff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

a.tb {
    color: #fff;
    font-weight: bold;
}

.btn-outline:hover {
    background: #007aff;
    color: #fff;
}

/* карточки */
.sites {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-card {
    background: linear-gradient(to bottom, #f0f2f5 0%, #c8e1f9 100%);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
}

.site-main {
    min-width: 350px;
}

.contact-success {
    text-align: center;
    padding: 50px 30px;
}

.contact-success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0dbb67, #33d17a);
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(13, 187, 103, .25);
}

.contact-success h2 {
    margin-bottom: 15px;
    color: #1f2937;
    font-size: 28px;
}

.contact-success p {
    max-width: 450px;
    margin: 0 auto 30px;
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

.site-name {
    font-weight: 600;
}

.site-domain {
    font-size: 13px;
    color: #777;
}

/* api key */
.site-key {
    display: flex;
}

.key-label {
    font-size: 12px;
    color: #777;
    padding-top: 8px;
    padding-right: 10px;
}

.key-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-key code {
    background: #f1f1f1;
    padding: 4px 8px;
    border-radius: 5px;
}

/* статус */
.site-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 13px;
}

.status.active {
    background: #e6f4ea;
    color: #1e7e34;
}

.status.inactive {
    background: #fdecea;
    color: #c0392b;
}

/* скрипт */
.site-script {
    width: 100%;
    display: none;
    margin-top: 15px;
    background: linear-gradient(135deg, #076bd9 0%, #0a84ff 50%, #38b6ff 100%);
    border-radius: 30px;
    color: #fff;
    padding-top: 10px;
    padding-left: 10px;
}

.script-inner {
    padding: 12px;
    border-radius: 8px;
}

.script-title {
    font-weight: 600;
    margin-bottom: 10px;
}

pre {
    background: #111;
    color: #0f0;
    padding: 10px;
    overflow-x: auto;
    border-radius: 6px;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 768px) {

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .site-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-main {
        width: 100%;
    }

    .site-key,
    .site-status,
    .site-actions {
        width: 100%;
    }

    .key-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .site-key code {
        width: 100%;
        display: block;
        word-break: break-all;
    }

    .site-status {
        justify-content: space-between;
        width: 100%;
    }

    .site-actions button {
        width: 100%;
    }

    .btn-outline {
        width: 100%;
    }

    pre {
        font-size: 12px;
    }
}

.btn-danger {
    background: #e53935;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-danger:hover {
    background: #c62828;
}

/* контейнер скрипта */
.script-box {
    /* border: 1px solid #076fdf; */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

/* верхняя панель */
.script-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #1780f5 0%, #076bd9 100%);
    padding: 8px 10px;
    font-size: 13px;
}

/* код */
.script-box pre {
    margin: 0;
    background: #111;
    color: #0f0;
    padding: 12px;
    font-size: 13px;
}

ol {
    padding-top: 10px;
    padding-left: 20px;
}

.edit-input {
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #007aff;
    border-radius: 6px;
    padding: 4px 6px;
    outline: none;
}

.site-name {
    cursor: pointer;
}

.site-name:hover {
    opacity: 0.7;
}

main {
	padding-bottom:30px;
}

code {
    font-family: monospace;
    font-weight: bold;
    font-size: 16px;
}

.site-domain {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
}

.domain-link {
    font-size: 14px;
    color: #007aff;
    text-decoration: none;
    transition: 0.2s;
}

.domain-link:hover {
    transform: translateY(-1px);
    opacity: 0.8;
}

/* FORM SECTION BACKGROUND */
.form-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  position: relative;
}

/* карточка */
.form-card {
  max-width: 520px;
  margin: auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.5);
}

/* заголовок */
.form-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

/* input группа */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  outline: none;
  font-size: 14px;
  background: white;
  transition: 0.2s;
}

/* focus эффект */
.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
}

/* label как placeholder */
.input-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 13px;
  color: #888;
  pointer-events: none;
  transition: 0.2s;
}

/* анимация label */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  background: white;
  padding: 0 5px;
  color: #007bff;
}

/* кнопка */
.btn.full {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  margin-top: 10px;
}

/* success */
.success {
  text-align: center;
  margin-top: 15px;
  color: green;
  display: none;
}



/*============================================*/
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* левая часть */
.left-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* бейдж тарифа */
.plan-badge {
    font-size: 12px;
    padding: 4px 10px;
    background: #eef5ff;
    color: #007aff;
    border-radius: 20px;
}

/* меню */
.main-nav {
    display: flex;
    gap: 20px;
}

/* burger */
.burger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}


	.menu-close {
		display:none;
	}

/* mobile */
@media (max-width: 768px) {

    .burger-btn {
        display: block;
    }



    .main-nav.active {
        display: flex;
    }
	

	.menu-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.3);
		display: none;
		z-index: 998;
	}

	.menu-close {
		position: absolute;
		top: 10px;
		right: 20px;
		font-size: 24px;
		background: none;
		border: none;
		cursor: pointer;
		display:block;
	}
}

.main-nav a {
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.main-nav a:hover {
    opacity: 0.7;
}

.main-nav a.user-btn {
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.main-nav a.user-btn:hover {
    opacity: 0.9;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: #f2f7ff;
}

/* акцентные пункты */
.dropdown-menu .admin-link {
    color: #007aff;
    font-weight: 500;
}

.dropdown-menu button {
    color: #e53935;
}


.plan-badge {
    font-size: 12px;
    padding: 4px 10px;
    background: #eef5ff;
    color: #007aff;
    border-radius: 20px;
    font-weight: 500;
}


.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: #f2f7ff;
}

/* акцентные пункты */
.dropdown-menu .admin-link {
    color: #007aff;
    font-weight: 500;
}

.dropdown-menu button {
    color: #e53935;
}


button.user-btn {
    top: -7px;
    position: relative;
}

.pricing {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pricing h1 {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.2s;
}

.plan-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.plan-card.active {
    border: 2px solid #007aff;
}

.price {
    font-size: 22px;
    margin: 10px 0;
    color: #007aff;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plan-card li {
    margin: 5px 0;
    font-size: 14px;
}

.btn-select {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-current {
    background: #eaf2ff;
    color: #007aff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.alert-limit {
    background: #f5f9ff;
    border: 1px solid #d6e6ff;
    border-left: 4px solid #007aff;
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.alert-text {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.alert-link {
    font-size: 13px;
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}

.alert-link:hover {
    opacity: 0.7;
}

.alert-limit.warning {
    border-left-color: #ffb100;
}

.alert-limit.danger {
    border-left-color: #007aff;
}
.plan-expiry {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eaf2ff;
    color: #007aff;
}

.plan-expiry.expired {
    background: #ffeaea;
    color: #d93025;
}

.billing {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.billing-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
}

.billing-history {
    margin-top: 20px;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 13px;
}

.billing-item .type {
    color: #007aff;
    text-transform: capitalize;
}

.billing-item .meta {
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    background: #007aff;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-renew {
    display: inline-block;
    margin-top: 10px;
    background: #28a745;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.btn-renew:hover {
    opacity: 0.9;
}

.btn-renew {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.welcome {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.welcome-text {
    color: #555;
    margin-bottom: 20px;
}

.welcome-steps {
    display: grid;
    gap: 10px;
    margin: 20px 0 40px;
    font-size: 14px;
}

.welcome-steps div {
    background: #f5f9ff;
    padding: 10px;
    border-radius: 8px;
}

.expired {
    text-align: center;
    padding: 60px 20px;
}

.expired-text {
    margin: 15px 0 25px;
    color: #555;
}

.btn-disabled {
    background: #eee;
    color: #999;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: not-allowed;
}

.alert-error {
    background: #ffe5e5;
    color: #c00;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.sites-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.expired-sites {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expired-site-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.site-left {
    display: flex;
    flex-direction: column;
}

.site-name {
    font-weight: 600;
    font-size: 14px;
}

.site-domain {
    font-size: 12px;
    color: #666;
}

.site-domain a {
    margin-left: 6px;
    color: #007aff;
    text-decoration: none;
    font-size: 12px;
}

.btn-delete-small {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.expired-sites {
    display: flex;
    flex-direction: column;
    gap: 10px;

    max-width: 300px;
    margin: 0 auto;
}

.expired-site-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.site-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-domain {
    font-size: 12px;
    color: #666;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 10px;
    left: -7px;
    position: relative;
}

.btn-delete-small {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;

    flex-shrink: 0;
}


.pricing-guest {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pricing-guest-box {
    max-width: 500px;
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.pricing-guest-box h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.pricing-guest-box p {
    margin-bottom: 15px;
    color: #666;
}

.pricing a.btn-select {
    text-decoration: none;
}

.legal {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
}

.legal-container {
    max-width: 800px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

.legal h1 {
    margin-bottom: 20px;
    font-size: 22px;
}

.legal p {
    margin-bottom: 12px;
}

.legal-container {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #222;
}

.legal-container h1 {
    margin-bottom: 20px;
}

.legal-container h2 {
    margin-top: 25px;
    font-size: 16px;
}

a.footer_links {
    font-size: 14px;
    color: #857e7e;
}


.contact-page {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
}


.contact-box h1 {
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}


.alert-success {
    background: #e6ffed;
    color: #0a7a2f;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.tickets-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
}

.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tickets-header h1 {
    font-size: 22px;
}


.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.ticket-item:hover {
    border-color: #007aff;
}

.ticket-title {
    font-weight: 500;
    color: #222;
    text-decoration: none;
}

.ticket-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f2f2f2;
}

.ticket-status.open {
    background: #e6f0ff;
    color: #007aff;
}

.ticket-status.closed {
    background: #eee;
    color: #888;
}

.ticket-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
}

.ticket-reply {
    padding: 10px;
    border-left: 3px solid #007aff;
    margin-bottom: 10px;
    background: #fafafa;
}

.ticket-form textarea,
.ticket-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ticket-form button {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.ticket-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.ticket-actions button,
.ticket-actions a {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
}


.btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}



/* dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    min-width: 180px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding-top: 20px;
}

.user-menu a,
.user-menu button {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.user-menu a:hover,
.user-menu button:hover {
    background: #f5f7ff;
}

/* show dropdown */
.user-dropdown.open .user-menu {
    display: flex;
}

/* MOBILE */
@media (max-width: 768px) {


    .main-nav.open {
        right: 0;
    }

    .user-menu {
        position: static;
        display: flex;
        box-shadow: none;
        border: none;
        padding-left: 10px;
    }

    .user-toggle {
        width: 100%;
        text-align: left;
    }
}


/* MOBILE OFFCANVAS */
@media (max-width: 768px) {

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 9999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .main-nav.open {
        right: 0;
    }

    .burger-btn {
        display: block;
        background: none;
        border: none;
        font-size: 26px;
        cursor: pointer;
    }
}
.menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.footer {
    margin-top: 60px;
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
    background: #e4e6e7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #999;
    font-weight: 500;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.footer-col a:hover {
    color: #007aff;
}

.footer-logo {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: rgb(0, 122, 255);
    line-height: 1.5;
}

/* bottom */
.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-col:first-child {
        grid-column: span 2;
    }
}

.nav-group a {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 16px;
    top: 7px;
    position: relative;
}


.nav-group {
    display: flex;
    gap: 20px;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav-group a {
        display: block;
        width: 100%;
    }
}

.nav-group {
    display: flex;
    gap: 20px;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav-group a {
        display: block;
        width: 100%;
    }
}




.support-alt {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LEFT */
.support-left {
    max-width: 60%;
}

.support-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.support-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

/* BUTTON */
.btn-chat {
    display: inline-block;
    padding: 10px 16px;
    background: #007aff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-chat:hover {
    opacity: 0.9;
}

/* QR */
.support-qr {
    width: 200px;
    height: 243px;
    object-fit: contain;
}

/* MOBILE */
@media (max-width: 768px) {

    .support-inner {
        flex-direction: column;
        text-align: center;
    }

    .support-left {
        max-width: 100%;
    }

    .support-qr {
        width: 160px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .support-right {
        display: none;
    }
}

/* PAGE */
.contact-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
}

.contact-page h1 {
    margin-bottom: 20px;
}

/* BOX */
.contact-box {
    display: flex;
    gap: 30px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

/* LEFT */
.contact-left {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-contact {
    width: 100%;
    padding: 12px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

/* RIGHT */
.contact-right {
    width: 280px;
}

.contact-chat {
    text-align: center;
}

.contact-chat h3 {
    margin-bottom: 10px;
}

.contact-chat p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.contact-qr {
    width: 200px;
    height: 243px;
    object-fit: contain;
    margin-top: 15px;
}

/* MOBILE */
@media (max-width: 768px) {

    .contact-box {
        flex-direction: column;
    }

    .contact-right {
        width: 100%;
    }

    .contact-qr {
        width: 160px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .contact-qr {
        display: none;
    }
}

.contact-header {
    width: 100%;
    margin-bottom: 20px;
}

.contact-page h1 {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.contact-box {
    display: flex;
    gap: 30px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;

    clear: both; /* 🔥 важно */
}

.contact-page {
    display: block;
}

p.footer-desc.company {
    font-size: 12px;
	color:#666;
}

.seo-text {
  padding: 80px 0;
}

.seo-box {
    display: flex;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #2460f5);
    border-radius: 24px;
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* glow */
.seo-box::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59,130,246,0.2);
  filter: blur(120px);
  top: -100px;
  right: -100px;
}

.seo-content {
  flex: 1;
}

.seo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
}

.seo-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.seo-content h2 span {
  color: #38bdf8;
}

.seo-lead {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.seo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.feature {
  background: rgba(255,255,255,0.05);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.seo-btn {
  display: inline-block;
  background: #38bdf8;
  color: #000;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.seo-btn:hover {
  transform: translateY(-2px);
  background: #0ea5e9;
}

/* RIGHT SIDE */
.seo-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.seo-card {
  background: #020617;
  border-radius: 20px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}

.dot {
  width: 10px;
  height: 10px;
  background: #334155;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.seo-message {
    margin-top: 20px;
    background: #142a5f;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

/* MOBILE */
@media (max-width: 900px) {
  .seo-box {
    flex-direction: column;
    padding: 40px 20px;
  }

  .seo-content h2 {
    font-size: 28px;
  }

  .seo-features {
    grid-template-columns: 1fr;
  }
}
span.recipent {
    padding: 10px;
    background: #fff;
    border-radius: 15px;
    font-size: 12px;
    margin: 5px;
}

.recipients {
    width: 100%;
    padding-top: 20px;
}

span.recept_title {
    font-size: 14px;
    margin-top: 20px;
    font-weight: bold;
}

img.recept_title_img {
    position: relative;
    top: 5px;
}

.btn-delete
{
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border-radius:8px;

    border:1px solid #ff4d4f;
    background:transparent;
    color:#ff4d4f;

    cursor:pointer;

    transition:.2s;
}

.btn-delete:hover
{
    background:#ff4d4f;
    color:white;
}

.recipient-row
{
    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;

    padding:6px 0;
}


.recipient-name
{
    font-size:14px;
    color:#333;
}


.recipient-row form
{
    margin:0;
}


.btn-delete
{
    width:28px;
    height:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border-radius:7px;

    border:1px solid #ff4d4f;
    background:transparent;

    color:#ff4d4f;

    cursor:pointer;

    transition:.2s;
}


.btn-delete:hover
{
    background:#ff4d4f;
    color:white;
}

.recipients-list
{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}


.recipient-item
{
    display:flex;
    align-items:center;
    gap:6px;

    background:#f5f5f5;
    padding:5px 8px;

    border-radius:8px;
}


.recipient-name
{
    white-space:nowrap;
    font-size:14px;
}


.recipient-item form
{
    margin:0;
}


.btn-delete
{
    width:20px;
    height:20px;

    padding:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    border:0;
    background:transparent;

    color:#ff4d4f;
    cursor:pointer;
}


.btn-delete:hover
{
    background:#ff4d4f;
    color:#fff;
}

.lead-filter {
    margin-bottom: 20px;
}

.lead-filter select {
    min-width: 250px;
}

.lead-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 15px;
}

.lead-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.lead-site {
    font-weight: 600;
}

.lead-date {
    color: #6b7280;
}

.lead-message {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.leads {
    max-width: 900px;
    margin: 0 auto;
}

.leads-page
{
    max-width:1200px;
    margin:auto;
}


.page-header
{
    display:flex;
    justify-content:space-between;
    margin-bottom:25px;
}


.page-header h1
{
    margin:0;
}


.page-header p
{
    color:#777;
}


.lead-filter
{
    margin-bottom:20px;
}


.lead-filter select
{
    padding:10px 14px;
    border-radius:10px;
    border:1px solid #ddd;
    background:white;
}



.lead-table-wrap
{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}



.lead-table
{
    width:100%;
    border-collapse:collapse;
}



.lead-table th
{
    text-align:left;
    padding:16px;
    background:#f7f8fa;
    font-weight:600;
}



.lead-table td
{
    padding:16px;
    border-top:1px solid #eee;
    vertical-align:top;
}



.site-badge
{
    background:#eef7ff;
    color:#1473e6;
    padding:5px 10px;
    border-radius:20px;
    font-size:13px;
}



.lead-text
{
    max-width:300px;
    white-space:pre-wrap;
}



.pager
{
    margin-top:25px;
}


.empty-state
{
    padding:40px;
    text-align:center;
    color:#777;
}



@media(max-width:900px)
{

.lead-table-wrap
{
    overflow-x:auto;
}


.lead-table
{
    min-width:900px;
}

}

/* Laravel pagination arrows fix */

.pager svg
{
    width: 16px !important;
    height: 16px !important;
}


.pager a,
.pager span
{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 10px;
}

.pager svg path
{
    transform-origin:center;
}

.pager
{
    margin-top:25px;
    display:flex;
}


.pager .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}


.pager .page-link
{
    border-radius:10px;
    min-width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.pager .page-link
{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:42px;
    height:38px;

    padding:0 14px;

    border-radius:12px;

    background:#fff;
    color:#333;

    border:1px solid #e5e7eb;

    font-size:14px;
    font-weight:500;

    text-decoration:none;

    transition:.2s ease;

    box-shadow:0 2px 8px rgba(0,0,0,.04);
}


.pager .page-link:hover
{
    background:#f3f7ff;
    border-color:#b9d4ff;
    color:#1677ff;
}


.pager .page-item.active .page-link
{
    background:#1677ff;
    border-color:#1677ff;
    color:#fff;

    box-shadow:0 6px 18px rgba(22,119,255,.25);
}


.pager .page-item.disabled .page-link
{
    background:#f8f8f8;
    color:#aaa;
    box-shadow:none;
}

.warn-message {
    background: #0870e1;
    margin-top: 10px;
    padding: 10px;
    width: fit-content;
}