﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg: #eef4fb;
  --bg-2: #e8f8f6;
  --surface: #ffffff;
  --text: #122236;
  --muted: #5a6f87;
  --brand: #0f766e;
  --brand-2: #2563eb;
  --brand-3: #f59e0b;
  --header: #0b1f3a;
  --line: #d6dfeb;
  --shadow: 0 14px 34px rgba(11, 31, 58, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0) 45%),
    radial-gradient(circle at 88% -12%, rgba(15, 118, 110, 0.16), rgba(15, 118, 110, 0) 48%),
    linear-gradient(180deg, var(--bg), #f4f8fc 65%);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, #0b1f3a 0%, #0c2c4d 55%, #0c3642 100%);
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 180px;
  height: auto;
  display: block;
  filter: brightness(1.06);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.menu a {
  text-decoration: none;
  color: #e8f4ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu a:hover { color: #8ef3e2; }

.hero {
  padding: 56px 0 18px;
}

.hero-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.15fr 0.85fr;
}

.panel {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 28px;
}

.kicker {
  display: inline-block;
  background: #ddf5f0;
  color: #0b5d57;
  border: 1px solid #b8e6dd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-main h1 {
  margin: 12px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
}

.hero-main p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.03rem;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #0f9c91);
  color: #fff;
}

.btn-secondary {
  border-color: #c5d4e8;
  color: var(--text);
  background: #fff;
}

.hero-side {
  padding: 24px;
}

.hero-side h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
}

.hero-side p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.quick-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.quick-list a {
  color: #0b315a;
  text-decoration: none;
  font-weight: 700;
}

.metric-strip {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-item {
  background: var(--surface);
  border: 1px solid #d9e4f2;
  border-radius: 14px;
  text-align: center;
  padding: 12px;
}

.metric-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.section {
  padding: 14px 0 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-item {
  background: #fff;
  border: 1px solid #d6dfeb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(11,31,58,.09);
  padding: 18px;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tool-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(11,31,58,.14);
}

.tool-item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: "Space Grotesk", sans-serif;
}

.tool-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.93rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #eaf0ff;
  color: #304f8d;
}

.ad-slot {
  margin-top: 12px;
  min-height: 120px;
  border-radius: 14px;
  border: 1px dashed #93a8c3;
  background: repeating-linear-gradient(45deg, #edf3fa, #edf3fa 10px, #e4edf8 10px, #e4edf8 20px);
  display: grid;
  place-items: center;
  color: #577293;
  font-weight: 700;
  padding: 10px;
}

.ad-slot .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 90px;
}

.page-hero {
  padding: 38px 0 10px;
}

.page-hero .panel {
  padding: 24px;
}

.breadcrumb {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb strong { color: var(--text); }

.catalog-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid #d6dfeb;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(11,31,58,.08);
  padding: 20px;
}

.card h1,
.card h2 {
  font-family: "Space Grotesk", sans-serif;
}

.input-group {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
button,
textarea {
  width: 100%;
  border: 1px solid #c9d7ea;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.97rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

textarea { min-height: 110px; resize: vertical; }

button {
  background: linear-gradient(135deg, #0f766e, #0f9c91);
  color: #fff;
  border: none;
  font-weight: 800;
  cursor: pointer;
}

button:hover { filter: brightness(1.05); }

.result {
  margin-top: 10px;
  background: #eef7ff;
  border: 1px solid #d5e6fb;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  word-break: break-word;
}

.tool-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-actions button {
  width: auto;
  min-width: 130px;
}

footer {
  margin-top: 26px;
  border-top: 1px solid #d6dfeb;
  padding: 22px 0;
  color: #556b85;
  background: rgba(255,255,255,0.6);
}

footer a {
  color: #184c7f;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-layout,
  .tools-grid,
  .catalog-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .logo-img { width: 150px; }
  .menu { gap: 10px; }
}
