@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700;900&display=swap');

:root {
  --ltc-blue: #345d9d;
  --ltc-blue-dark: #1b3763;
  --ltc-blue-light: #5b86c6;
  --ltc-silver: #bfbbbb;
  --ltc-bg: #eef2f8;
  --ltc-text: #1d2433;
  --ltc-muted: #5d6779;
  --ltc-line: #d8e0ee;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--ltc-bg);
  color: var(--ltc-text);
}

/* Синяя шапка с изогнутым низом */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 340px;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(135deg, var(--ltc-blue-dark) 0%, var(--ltc-blue) 55%, var(--ltc-blue-light) 100%);
  border-bottom-left-radius: 50% 40px;
  border-bottom-right-radius: 50% 40px;
}

h1, h2, h3, h4, .label {
  font-family: 'Roboto', Arial, sans-serif;
}

/* Логотип */
.logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 20px;
  width: 100%;
}

.logo-header a { display: inline-block; text-decoration: none; }

.logo-img {
  display: block;
  height: 44px;
  margin: 0;
  padding: 10px 24px;
  box-sizing: content-box;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(10, 25, 55, .25);
}

/* Главная карточка */
.container {
  position: relative;
  max-width: 720px;
  margin: 24px auto 40px;
  padding: 44px 44px 48px;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(27, 55, 99, .18), 0 2px 6px rgba(27, 55, 99, .08);
}

h1 {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ltc-blue-dark);
}

h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ltc-blue), var(--ltc-silver));
}

/* Форма */
label {
  display: block;
  margin: 0 0 8px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ltc-blue);
}

input[type="text"],
input[type="number"] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--ltc-text);
  background: #f6f8fc;
  border: 2px solid var(--ltc-line);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder { color: #9aa4b8; }

input[type="text"]:focus,
input[type="number"]:focus {
  background: #fff;
  border-color: var(--ltc-blue);
  box-shadow: 0 0 0 4px rgba(52, 93, 157, .15);
}

.slider-container { margin-top: 20px; }
.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--ltc-muted);
}
input[type="range"] { width: 100%; accent-color: var(--ltc-blue); }
.value-display { text-align: right; font-size: 14px; margin-top: 5px; color: var(--ltc-muted); }

/* Кнопка */
button,
.btn {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 17px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--ltc-blue-dark), var(--ltc-blue) 60%, var(--ltc-blue-light));
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(52, 93, 157, .35);
  transition: transform .15s, box-shadow .2s, filter .2s;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 30px rgba(52, 93, 157, .45);
  background: linear-gradient(135deg, var(--ltc-blue-dark), var(--ltc-blue) 60%, var(--ltc-blue-light));
}

button:active,
.btn:active { transform: translateY(0); }

/* SEO-блок */
.seo-section {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 44px 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(27, 55, 99, .08);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
  color: #2a3347;
}

.seo-section h1,
.seo-section h2,
.seo-section h3 {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--ltc-blue-dark);
}

.seo-section h2 {
  margin: 44px 0 14px;
  padding-left: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  border-left: 5px solid var(--ltc-blue);
}

.seo-section h2:first-of-type { margin-top: 32px; }

.seo-section h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.seo-section p { margin: 0 0 18px; }
.seo-section strong { color: var(--ltc-blue-dark); }

.seo-section ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.seo-section ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.seo-section ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ltc-blue), var(--ltc-silver));
}

.seo-section ol {
  list-style: none;
  counter-reset: step;
  margin: 0 0 20px;
  padding: 0;
}

.seo-section ol li {
  position: relative;
  counter-increment: step;
  margin-bottom: 14px;
  padding: 12px 16px 12px 58px;
  background: #f4f7fc;
  border-radius: 12px;
}

.seo-section ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: var(--ltc-blue);
  border-radius: 50%;
}

/* Результат / прочее */
.result-box {
  margin-top: 24px;
  padding: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--ltc-text);
  background: #f4f7fc;
  border-radius: 14px;
  word-break: break-all;
}

.footer {
  max-width: 700px;
  margin: 60px auto 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
  color: var(--ltc-muted);
}

/* Блок контактов */
.info-block {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  font-family: Arial, Helvetica, sans-serif;
  color: #e6ecf7;
  background: linear-gradient(135deg, var(--ltc-blue-dark), #274a82);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(27, 55, 99, .25);
}

.info-block .label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ltc-silver);
}

.info-block .value p { margin: 6px 0; }

.info-block a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.5);
  word-break: break-all;
}

.info-block a:hover { border-bottom-style: solid; }

/* Мобильные */
@media (max-width: 600px) {
  body::before { height: 300px; }
  .logo-img { height: 36px; padding: 8px 18px; }
  .container { margin: 16px 14px 28px; padding: 30px 20px 34px; border-radius: 20px; }
  h1 { font-size: 25px; }
  .seo-section { margin: 0 14px 28px; padding: 28px 20px; border-radius: 20px; }
  .seo-section h2 { font-size: 20px; }
  .info-block { margin: 0 14px 36px; padding: 22px 20px; }
}