@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --bg: #eff6ff;
  --bg-strong: #e0ecff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --fg: #0f172a;
  --muted: #64748b;
  --muted-strong: #475569;
  --border: #d8e4ff;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --fg-soft: rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 12px 30px rgba(59, 130, 246, 0.08);
  --shadow-md: 0 22px 60px rgba(59, 130, 246, 0.16);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);
  --font-display: "Poppins", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Poppins", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  --fs-h1: clamp(48px, 6vw, 78px);
  --fs-h2: clamp(32px, 4vw, 52px);
  --fs-h3: 24px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1180px;
  --gutter: 32px;
  --radius: 999px;
  --radius-md: 20px;
  --radius-lg: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
.text-center { text-align: center; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.2), transparent 28%),
    linear-gradient(180deg, #f4f8ff 0%, var(--bg) 42%, #eef4ff 100%);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
body.static-demo a,
body.static-demo button {
  cursor: pointer;
}
body.static-demo {
  -webkit-tap-highlight-color: transparent;
}
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid, .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-lg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gap-xl); align-items: stretch; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: stretch; }
.h1, h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.h2, h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
}
.h3, h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 var(--gap-md);
}
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  font-family: var(--font-body);
}
.topnav .logo {
  font-family: var(--font-display);
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0;
  line-height: 1.1;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.topnav.nav-open .mobile-menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topnav.nav-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.topnav.nav-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.pagefoot {
  margin-top: clamp(56px, 8vw, 96px);
  padding-block: 56px;
  background: #0f172a;
  color: #c7d2fe;
}
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
}
.pagefoot h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.pagefoot p,
.pagefoot a,
.pagefoot span,
.pagefoot .meta { color: #c7d2fe; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.18);
}
.btn:active { transform: translateY(1px); }
.btn-primary, .btn:not(.btn-secondary):not(.btn-ghost) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--surface);
  border-color: transparent;
}
.btn-primary:hover, .btn:not(.btn-secondary):not(.btn-ghost):hover {
  background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
}
.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(79, 70, 229, 0.22);
}
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-inline: 8px;
  box-shadow: none;
}
.btn-ghost:hover { color: #4338ca; box-shadow: none; }
.btn-arrow::after { content: "→"; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(2px); }
.card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(216, 228, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card-flat { background: transparent; border: 0; padding: 0; box-shadow: none; }
.card-rule {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(79, 70, 229, 0.16);
  padding: 24px 0 0;
  border-radius: 0;
  box-shadow: none;
}
.feature {
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.24);
}
.feature .feature-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--accent);
  margin-bottom: 18px;
}
.feature .feature-mark svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag, .tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  background: rgba(79, 70, 229, 0.04);
  color: var(--muted-strong);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 10px 10px 0;
}
.ph-img {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.ph-img.square { aspect-ratio: 1 / 1; }
.ph-img.wide { aspect-ratio: 16 / 9; }
.hero { padding-block: clamp(56px, 8vw, 92px); }
.hero-center { text-align: center; max-width: 1080px; margin-inline: auto; }
.hero-shell {
  position: relative;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-shell::after {
  content: none;
}
.hero h1 {
  word-break: keep-all;
  overflow-wrap: normal;
  margin-bottom: 18px;
}
.hero-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin: 0 auto 24px;
  max-width: 760px;
  color: var(--muted-strong);
}
.hero-cta {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.hero-links {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(79, 70, 229, 0.12);
  color: var(--muted-strong);
  font-weight: 600;
}
.hero-links a:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--accent);
}
.catalog-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 24px auto 0;
}
.catalog-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 70, 229, 0.12);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.catalog-cloud a:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--accent);
}
.catalog-cloud a:active {
  transform: translateY(1px);
  background: rgba(255, 255, 255, 0.74);
}
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-2xl); align-items: center; }
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-head p { margin-top: 12px; color: var(--muted); }
.section-head h2 i { margin-right: 10px; color: var(--accent); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card h3 {
  margin-top: 8px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
}
.service-icon {
  font-size: 3.2rem;
  margin-bottom: 25px;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.facebook { background: linear-gradient(135deg, #1877f2, #3b5998); color: white; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.tiktok { background: linear-gradient(135deg, #000, #25f4ee, #fe2c55); color: white; }
.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); color: white; }
.linkedin { background: linear-gradient(135deg, #0077b5, #00a0dc); color: white; }
.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: white; }
.apple-id { background: linear-gradient(135deg, #000, #a2aaad); color: white; }
.line { background: linear-gradient(135deg, #00B900, #06C755); color: white; }
.telegram { background: linear-gradient(135deg, #0088cc, #2aabee); color: white; }
.gmail { background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335); color: white; }
.tinder { background: linear-gradient(135deg, #ff6b6b, #ff5252); color: white; }
.bumble { background: linear-gradient(135deg, #ffcd4a, #ffb400); color: white; }
.youtube { background: linear-gradient(135deg, #ff0000, #e52d27); color: white; }
.discord { background: linear-gradient(135deg, #5865f2, #7289da); color: white; }
.reddit { background: linear-gradient(135deg, #ff4500, #ff5700); color: white; }
.vkontakte { background: linear-gradient(135deg, #4a76a8, #5181b8); color: white; }
.skype { background: linear-gradient(135deg, #00aff0, #0078d7); color: white; }
.snapchat { background: linear-gradient(135deg, #fffc00, #fff200); color: black; }
.amazon { background: linear-gradient(135deg, #ff9900, #f90); color: white; }
.chatgpt { background: linear-gradient(135deg, #10a37f, #0d8e71); color: white; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.article-card .meta {
  display: inline-flex;
  margin-bottom: 10px;
}
.article-card h3 {
  margin-bottom: 12px;
}
.article-card p {
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.contact-card h3 {
  margin-bottom: 10px;
}
.contact-card p {
  color: var(--muted);
}
.log-row {
  display: grid;
  grid-template-columns: 130px 1fr 110px;
  gap: var(--gap-lg);
  padding: 24px 0;
  border-top: 1px solid rgba(79, 70, 229, 0.1);
  align-items: baseline;
}
.log-row .pull { text-align: right; }
.log-link {
  display: block;
  transition: color 0.2s ease;
}
.log-link:hover h3 { color: var(--accent); }
.list { padding-left: 18px; margin: 0; color: var(--muted); }
.list li + li { margin-top: 10px; }
.article { max-width: 780px; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.link-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--fg);
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(79, 70, 229, 0.28);
  color: var(--accent);
}
.link-card:active { transform: translateY(1px); }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted-strong);
  font-weight: 600;
}
.inline-link:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--accent);
}
.note-box {
  padding: 22px 24px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.8));
  color: var(--muted-strong);
  box-shadow: var(--shadow-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a:hover { color: #ffffff; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #c7d2fe;
  font-size: 18px;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  color: #a5b4fc;
  font-size: 14px;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
@media (max-width: 920px) {
  .grid, .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2, .hero-split, .link-grid, .footer-grid, .service-grid, .article-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .header-container, .row-between { flex-wrap: wrap; }
  .mobile-menu-btn { display: inline-block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0 18px;
  }
  .topnav.nav-open .nav-links { display: flex; }
  .log-row { grid-template-columns: 1fr; }
  .log-row .pull { text-align: left; }
}
