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

:root {
  --sol-purple: #9945FF;
  --sol-green: #14F195;
  --bg: #08080f;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e7e9f4;
  --muted: #9aa0ba;
  --grad: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 500px at 8% -5%, rgba(153, 69, 255, 0.28), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(20, 241, 149, 0.16), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: -0.01em;
}

/* ---------- HEADER ---------- */
.logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 15, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-img {
  height: 40px;
  display: block;
  margin-left: 0;
  filter: drop-shadow(0 0 12px rgba(153, 69, 255, 0.45));
}

@media (min-width: 768px) {
  .logo-header { justify-content: center; }
  .logo-img { margin-left: 0; }
}

/* ---------- MAIN CARD ---------- */
.container {
  position: relative;
  max-width: 760px;
  margin: 48px auto;
  padding: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(153, 69, 255, 0.08),
    0 30px 80px -20px rgba(153, 69, 255, 0.35),
    0 10px 40px -10px rgba(20, 241, 149, 0.12);
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}

h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- FORM ---------- */
label {
  display: block;
  margin-top: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sol-green);
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  margin-top: 10px;
  background: rgba(10, 10, 20, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus {
  border-color: var(--sol-purple);
  box-shadow: 0 0 0 4px rgba(153, 69, 255, 0.2);
}

.container p[style] {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.slider-container {
  margin-top: 26px;
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.slider-container label { margin-top: 0; }

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 8px;
}

.value-display {
  text-align: right;
  font-size: 14px;
  margin-top: 8px;
  color: var(--muted);
}

.value-display span {
  color: var(--sol-green);
  font-weight: bold;
}

/* ---------- RANGE ---------- */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.55), rgba(20, 241, 149, 0.55));
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b0b14;
  border: 3px solid var(--sol-green);
  box-shadow: 0 0 14px rgba(20, 241, 149, 0.7);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b0b14;
  border: 3px solid var(--sol-green);
  box-shadow: 0 0 14px rgba(20, 241, 149, 0.7);
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.55), rgba(20, 241, 149, 0.55));
}

/* ---------- RESULT ---------- */
.result-box {
  margin-top: 22px;
  padding: 16px 18px;
  font-size: 16px;
  color: var(--text);
  background: rgba(20, 241, 149, 0.07);
  border: 1px dashed rgba(20, 241, 149, 0.45);
  border-radius: 14px;
}

.result-box p { margin: 0; }

.result-box span {
  color: var(--sol-green);
  font-weight: bold;
  font-size: 18px;
}

/* ---------- BUTTON ---------- */
button {
  display: block;
  margin: 32px auto 0;
  width: 100%;
  max-width: 100%;
  padding: 16px 24px;
  background: var(--grad);
  color: #07070d;
  border: none;
  border-radius: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(153, 69, 255, 0.7);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

button:hover {
  background: var(--grad);
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 16px 40px -8px rgba(20, 241, 149, 0.55);
}

button:active { transform: translateY(0); }

/* ---------- SEO SECTION ---------- */
.seo-section {
  max-width: 760px;
  margin: 70px auto;
  padding: 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
  color: #c9cde0;
}

.seo-section h1,
.seo-section h2,
.seo-section h3 {
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}

.seo-section h2 {
  margin-top: 54px;
  padding-left: 16px;
  font-size: 26px;
  border-left: 4px solid;
  border-image: var(--grad) 1;
}

.seo-section h3 {
  margin-top: 28px;
  font-size: 18px;
  color: var(--sol-green);
}

.seo-section p { margin: 0 0 18px; }

.seo-section strong { color: #fff; }

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

.seo-section ol li {
  counter-increment: step;
  position: relative;
  margin-bottom: 12px;
  padding: 16px 18px 16px 62px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.seo-section ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad);
  color: #07070d;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
}

/* ---------- INFO BLOCK (contacts) ---------- */
.info-block {
  max-width: 760px;
  margin: 40px auto;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.info-block .label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sol-purple);
  margin-bottom: 10px;
}

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

.info-block a {
  color: var(--sol-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.info-block a:hover { border-bottom-color: var(--sol-green); }

.footer {
  margin: 80px auto 0;
  max-width: 700px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .container { margin: 24px 14px; padding: 26px 20px; border-radius: 18px; }
  h1 { font-size: 22px; }
  .seo-section h2 { font-size: 21px; }
  .info-block { margin: 30px 14px; }
}