﻿:root {
  --bg: #f5f7fb;
  --text: #0f172a;
  --muted: #4b5563;
  --line: #e2e8f0;
  --surface: #ffffff;
  --primary: #0a5fad;
  --primary-dark: #08457d;
  --accent: #06b6d4;
  --maxw: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 92px;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at -10% -10%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(700px 450px at 110% 0%, rgba(6, 182, 212, 0.14), transparent 52%),
    var(--bg);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 280px;
  height: 280px;
  background: #60a5fa;
  top: 72px;
  left: -80px;
}

.orb-b {
  width: 250px;
  height: 250px;
  background: #22d3ee;
  right: -70px;
  top: 160px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 251, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav-wrap {
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.logo-text {
  line-height: 1;
}

.navbar-toggler {
  border-color: #cbd5e1;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(10, 95, 173, 0.22);
}

.nav-links .nav-link {
  color: #334155;
  font-weight: 500;
}

.sectionless {
  padding-top: 56px;
  padding-bottom: 34px;
}

.tag {
  margin: 0 0 10px;
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0b3b65;
  background: rgba(14, 165, 233, 0.15);
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0;
  line-height: 1.05;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 780px;
}

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

.version {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
}

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f8fbff);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 24px;
}

.hero-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.6;
}

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

.quick-stats div {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 10px;
  text-align: center;
  padding: 8px 4px;
}

.quick-stats strong {
  display: block;
  font-size: 18px;
}

.quick-stats span {
  font-size: 12px;
  color: #334155;
}

.section {
  margin: 26px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.section-alt {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.panel,
.benefit-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  height: 100%;
}

.panel h3,
.benefit-box h3 {
  margin: 0;
}

.panel p,
.benefit-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.pricing-grid-org {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
  min-height: 190px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.price-card h3 {
  margin: 8px 0 8px;
  font-size: 19px;
  color: #0f2f4a;
}

.pricing-offer {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  font-weight: 700;
  font-size: 13px;
}

.plan-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 12px;
}

.featured-plan {
  border-color: #60a5fa;
  background: linear-gradient(180deg, #f0f7ff, #e7f1ff);
  transform: translateY(-2px);
}

.featured-plan .plan-badge {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.price-old {
  margin: 0;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 600;
  font-size: 14px;
}

.price-value {
  margin: 2px 0 0;
  font-size: 32px;
  font-weight: 800;
  color: #0b3c5d;
}

.price-discount {
  margin: 5px 0 0;
  color: #166534;
  font-weight: 700;
  font-size: 14px;
}

.price-note {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.price-btn {
  margin-top: 12px;
  width: 100%;
  text-align: center;
  display: inline-block;
}

.org-card {
  min-height: 165px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.org-card .price-value {
  font-size: 26px;
  color: #0f4c75;
}

.muted {
  color: var(--muted);
}

.manual-points,
.manual-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
  color: #334155;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.trust-code {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 10px 12px;
  border: 1px solid #dbe7f2;
  border-radius: 10px;
  background: #f8fbff;
  color: #0f2f4a;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
  hyphens: auto !important;
}

.trust-steps {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #334155;
  line-height: 1.6;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.archive-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-version {
  font-weight: 700;
  color: #0b3c5d;
}

.archive-meta {
  color: #64748b;
  font-size: 14px;
}

.archive-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact {
  text-align: center;
}

.mail-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 4px;
}

.btn {
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(10, 95, 173, 0.28);
}

.btn-outline {
  color: #0f172a;
  border: 1px solid var(--line);
  background: #fff;
}

.accordion-button {
  font-weight: 600;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 22px rgba(10, 95, 173, 0.34);
  cursor: pointer;
  z-index: 1100;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  box-shadow: 0 14px 28px rgba(10, 95, 173, 0.4);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.footer-wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-delay {
  transition-delay: 0.1s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.interactive {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.click-pop {
  animation: clickPop 0.26s ease;
}

@keyframes clickPop {
  0% { transform: scale(0.98); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 82px;
  }

  section[id] {
    scroll-margin-top: 82px;
  }

  .sectionless {
    padding-top: 34px;
  }

  .nav-links {
    padding: 8px 0;
  }

  .pricing-grid,
  .pricing-grid-org {
    grid-template-columns: 1fr;
  }

  .trust-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 575px) {
  .logo-img {
    width: 26px;
    height: 26px;
  }

  .section {
    padding: 18px;
  }

  #trust {
    overflow: hidden;
  }

  #trust .trust-card,
  #trust .trust-card * {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  #trust h3,
  #trust p,
  #trust li,
  #trust code {
    display: block;
    width: 100%;
  }

  .footer-wrap {
    min-height: 84px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}
