:root {
  --bg: #03070d;
  --panel: rgba(12, 22, 37, 0.78);
  --panel-strong: rgba(15, 28, 47, 0.92);
  --stroke: rgba(106, 148, 207, 0.22);
  --stroke-strong: rgba(62, 128, 255, 0.58);
  --text: #f4f7ff;
  --muted: #9ca9be;
  --muted-2: #6f7d91;
  --blue: #2e79ff;
  --blue-2: #6fb6ff;
  --cyan: #69e7ff;
  --success: #63f0ad;
  --danger: #ff6b8a;
  --radius: 26px;
  --radius-sm: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 8%, rgba(27, 90, 214, 0.34), transparent 38%),
    radial-gradient(circle at 20% 44%, rgba(33, 164, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #03070d 0%, #07111f 45%, #03060b 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.bg-orb {
  position: fixed;
  pointer-events: none;
  filter: blur(35px);
  opacity: 0.6;
  z-index: 0;
}
.bg-orb-one {
  width: 360px;
  height: 360px;
  background: rgba(38, 103, 255, 0.24);
  top: -110px;
  right: -80px;
  border-radius: 50%;
}
.bg-orb-two {
  width: 260px;
  height: 260px;
  background: rgba(45, 207, 255, 0.12);
  bottom: 18%;
  left: -110px;
  border-radius: 50%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 18px max(26px, env(safe-area-inset-bottom));
}

.glass-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(20, 34, 55, 0.86), rgba(7, 15, 26, 0.74)),
    rgba(8, 16, 29, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 22px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -150px auto;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(45, 121, 255, 0.38), transparent 62%);
  opacity: 0.86;
}
.hero-copy { position: relative; z-index: 2; align-self: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: #9dc4ff;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid rgba(79, 138, 255, 0.34);
  border-radius: 999px;
  background: rgba(34, 88, 215, 0.16);
  box-shadow: inset 0 0 18px rgba(74, 129, 255, 0.12);
}
.hero h1 {
  margin: 24px 0 16px;
  font-size: clamp(48px, 8vw, 84px);
  line-height: .92;
  letter-spacing: -0.055em;
  font-weight: 650;
}
.hero h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 26px rgba(46, 121, 255, 0.34);
}
.lead {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.58;
}

.hero-photo-wrap {
  position: relative;
  min-height: 310px;
  align-self: stretch;
  display: grid;
  place-items: center;
  z-index: 1;
}
.photo-glow {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 120, 255, 0.7), rgba(25, 120, 255, 0.12) 46%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  border-radius: 0 0 44px 44px;
  object-fit: cover;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
 .project-card {
  position: relative;
  min-height: 206px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(128, 167, 221, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(19, 32, 51, 0.94), rgba(9, 18, 31, 0.92));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  overflow: hidden;
}
.project-card::after {
  content: "↗";
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #a9c8ff;
  opacity: 0.9;
}
.project-card:hover { transform: translateY(-3px); border-color: rgba(71, 137, 255, 0.48); }
.project-logo {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 26px;
}
.project-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.22));
}
.logo-localtrans img { max-width: 168px; max-height: 36px; }
.logo-custommt img { max-width: 270px; max-height: 50px; }
.logo-kometa img { max-width: 230px; max-height: 38px; }
.logo-genai img { max-width: 108px; max-height: 42px; }
.project-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.project-card p {
  min-height: 54px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}
.project-card span { color: #76adff; font-size: 14px; font-weight: 600; }

.gate {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  padding: 26px;
  margin: 18px 0;
  border-color: rgba(72, 133, 255, 0.36);
}
.lock-side {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 12px;
  border-radius: 21px;
  background: radial-gradient(circle at 50% 20%, rgba(47, 116, 255, 0.18), transparent 60%);
}
.lock-orbit {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(82, 139, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 113, 255, 0.32), rgba(6, 13, 24, 0.62));
  box-shadow: 0 0 46px rgba(47, 116, 255, 0.35), inset 0 0 22px rgba(102, 172, 255, 0.18);
}
.lock-orbit span { font-size: 32px; filter: drop-shadow(0 0 16px rgba(69, 132, 255, .72)); }
.lock-side h2 { max-width: 330px; margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.lock-side p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.5; }

.lead-form { display: grid; gap: 12px; align-self: center; }
.lead-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
.lead-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(135, 166, 211, 0.14);
  outline: none;
  border-radius: 15px;
  background: rgba(19, 31, 49, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lead-form input:focus {
  border-color: rgba(80, 143, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(46, 121, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.lead-form button {
  min-height: 58px;
  margin-top: 8px;
  color: white;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #1458ff, #3484ff);
  box-shadow: 0 16px 34px rgba(38, 103, 255, 0.32);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -.01em;
}
.lead-form button:disabled { opacity: .66; cursor: progress; }
.form-message { min-height: 20px; margin: 0; color: var(--success); font-size: 14px; }
.form-message.error { color: var(--danger); }
.privacy-note { margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.45; }

.locked-preview { padding: 24px; margin: 18px 0; }
.blurred-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.blurred-pill {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: rgba(237, 244, 255, 0.52);
  border: 1px solid rgba(128, 167, 221, 0.13);
  border-radius: 16px;
  background: rgba(15, 27, 44, .86);
  filter: blur(3px);
  user-select: none;
}

.details { display: grid; gap: 18px; margin: 18px 0 0; }
.hidden { display: none !important; }
.section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.section-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #70a8ff;
  border: 1px solid rgba(69, 134, 255, .26);
  border-radius: 12px;
  background: rgba(42, 102, 255, .12);
}
.section-title h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.topic-card, .compact-card, .connect-card { padding: 24px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.topic-grid article {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(128, 167, 221, 0.11);
  border-radius: 17px;
  background: rgba(17, 31, 51, 0.76);
}
.topic-grid span { display: block; margin-bottom: 18px; color: #4f92ff; font-weight: 800; }
.topic-grid p { margin: 0; color: #d8e2f4; line-height: 1.42; font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rating-list, .geo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rating-list li {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto 22px;
  gap: 10px;
  align-items: center;
  color: #dce6f6;
  font-size: 15px;
}
.rating-list strong { color: #4b91ff; letter-spacing: 2px; white-space: nowrap; }
.rating-list strong em { color: rgba(105, 126, 158, .44); font-style: normal; }
.rating-list b { color: #dfe9f8; font-size: 14px; font-weight: 600; }
.geo-list li { display: flex; gap: 14px; align-items: center; color: #dce6f6; }
.geo-list i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #9dc4ff;
  font-style: normal;
  border-radius: 999px;
  background: rgba(159, 192, 255, .09);
}
.geo-list small { display: block; color: var(--muted); margin-top: 3px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-action {
  min-height: 82px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(128, 167, 221, 0.11);
  border-radius: 18px;
  background: rgba(17, 31, 51, 0.8);
  transition: transform .18s ease, border-color .18s ease;
}
.contact-action:hover { transform: translateY(-2px); border-color: rgba(71, 137, 255, 0.44); }
.brand-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(42, 102, 255, .22), rgba(12, 25, 45, .94));
  border: 1px solid rgba(96, 154, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 30px rgba(0,0,0,.22);
}
.brand-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.email-icon { color: #79d8ff; }
.telegram-icon { color: #4ea0ff; }
.phone-icon { color: #70f0bd; }
.vcard-icon { color: #c6d9ff; }
.contact-action strong { display: block; margin-bottom: 4px; }
.contact-action small { color: var(--muted); }
.contact-action b { color: #c6d6ee; font-size: 30px; font-weight: 300; }
.footer-note {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.admin-page { max-width: 1160px; }
.admin-header { padding: 28px; margin-bottom: 18px; }
.admin-header h1 { margin: 0 0 10px; font-size: 36px; letter-spacing: -.04em; }
.admin-header p { margin: 0; color: var(--muted); }
.admin-controls { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-top: 20px; }
.admin-controls input {
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(19, 31, 49, 0.88);
}
.admin-controls button, .admin-controls a {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #1458ff, #3484ff);
  cursor: pointer;
}
.table-card { padding: 16px; overflow-x: auto; }
.leads-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.leads-table th, .leads-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid rgba(128, 167, 221, 0.12); }
.leads-table th { color: #9dc4ff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.leads-table td { color: #e5ecf8; font-size: 14px; }
.admin-message { color: var(--muted); margin: 12px 0 0; }

@media (max-width: 900px) {
  .page-shell { padding-left: 14px; padding-right: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 24px; }
  .hero-copy { order: 2; }
  .hero-photo-wrap { order: 1; min-height: 230px; }
  .hero-photo { width: min(320px, 86%); border-radius: 0 0 34px 34px; }
  .hero h1 { margin-top: 16px; font-size: clamp(42px, 13vw, 72px); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .gate { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .admin-controls { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { background: radial-gradient(circle at 68% 7%, rgba(27, 90, 214, 0.38), transparent 34%), linear-gradient(145deg, #03070d 0%, #07111f 52%, #03060b 100%); }
  .page-shell { padding-top: max(14px, env(safe-area-inset-top)); }
  .glass-card { border-radius: 22px; }
  .hero { padding: 18px; gap: 0; }
  .eyebrow { font-size: 11px; padding: 6px 11px; }
  .lead { font-size: 15px; }
  .hero-photo-wrap { min-height: 210px; }
  .projects-grid { grid-template-columns: 1fr; gap: 10px; }
  .project-card { min-height: 122px; padding: 18px 58px 16px 18px; }
  .project-logo { height: 40px; margin-bottom: 12px; }
  .logo-localtrans img { max-width: 140px; max-height: 28px; }
  .logo-custommt img { max-width: 206px; max-height: 38px; }
  .logo-kometa img { max-width: 180px; max-height: 30px; }
  .logo-genai img { max-width: 92px; max-height: 34px; }
  .project-card p { min-height: auto; margin-bottom: 10px; }
  .gate, .topic-card, .compact-card, .connect-card, .locked-preview { padding: 18px; }
  .lock-orbit { width: 88px; height: 88px; }
  .lock-side h2 { font-size: 18px; }
  .lead-form input, .lead-form button { min-height: 54px; }
  .blurred-contact-row { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 16px; }
  .section-title h2 { font-size: 19px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-grid article { min-height: 108px; }
  .rating-list li { grid-template-columns: 1fr auto 20px; font-size: 14px; }
  .rating-list strong { letter-spacing: 1px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-action { min-height: 74px; grid-template-columns: 50px 1fr auto; gap: 12px; padding: 12px; }
  .brand-icon { width: 48px; height: 48px; }
  .brand-icon svg { width: 24px; height: 24px; }
  .contact-action small { font-size: 12px; }
  .footer-note { padding: 0 10px; }
}
