/* =========================================================
   THEME TOKENS
   ========================================================= */
:root {
  color-scheme: dark;

  --max-width: 1120px;
  --header-width: 1180px;

  --bg-main: linear-gradient(135deg, #050814 0%, #07111f 52%, #101b38 100%);

  --surface: rgba(8, 12, 26, 0.88);
  --surface-strong: rgba(8, 11, 23, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);

  --text-main: #f7f9ff;
  --text-soft: #dee7f4;
  --text-muted: #aab7cf;

  --accent: #8b0000;

  --linkio: #ff7aa8;
  --linkio-soft: rgba(255, 122, 168, 0.13);
  --linkio-border: rgba(255, 122, 168, 0.32);
  --linkio-strong: #ffadc8;
  --linkio-blue: #86b0ff;

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 79, 100, 0.32);

  --sidebar-bg: rgba(7, 10, 22, 0.96);
  --sidebar-divider: rgba(255, 255, 255, 0.12);

  --btn-text: #ffffff;

  --product-bg: rgba(10, 16, 34, 0.72);
  --product-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0) 58%);

  --input-bg: rgba(255, 255, 255, 0.055);

  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 22px 46px rgba(0, 0, 0, 0.34);
  --shadow-atmosphere:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.26);

  --focus-ring: rgba(255, 122, 168, 0.92);

  --hero-halo:
    radial-gradient(circle at 50% 38%, rgba(255, 122, 168, 0.15), transparent 26%),
    radial-gradient(circle at 61% 50%, rgba(255, 184, 108, 0.11), transparent 29%);

--hero-title-gradient: linear-gradient(
  90deg,
  #ffadc8 0%,
  #ff7aa8 48%,
  #86b0ff 100%
);

  --cursor-aura:
    radial-gradient(circle, rgba(255, 122, 168, 0.28) 0%, rgba(255, 184, 108, 0.17) 44%, transparent 72%);
}

body[data-theme="light"] {
  color-scheme: light;

  --bg-main: linear-gradient(135deg, #fffefd 0%, #fff7fb 52%, #f3edf8 100%);

  --surface: rgba(255, 249, 252, 0.92);
  --surface-strong: rgba(255, 252, 254, 0.94);
  --surface-soft: rgba(67, 48, 86, 0.055);

  --text-main: #181923;
  --text-soft: #2a2d40;
  --text-muted: #676a7b;

  --accent: #9f2449;

  --linkio: #b43d68;
  --linkio-soft: rgba(255, 122, 168, 0.14);
  --linkio-border: rgba(180, 61, 104, 0.28);
  --linkio-strong: #b43d68;
  --linkio-orange: #9d641f;

  --border: rgba(42, 30, 59, 0.11);
  --border-strong: rgba(217, 88, 130, 0.28);

  --sidebar-bg: rgba(255, 249, 252, 0.97);
  --sidebar-divider: rgba(42, 30, 59, 0.12);

  --btn-text: #181923;

  --product-bg: rgba(255, 252, 254, 0.78);
  --product-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 56%);

  --input-bg: rgba(67, 48, 86, 0.055);

  --shadow-soft: 0 12px 24px rgba(50, 32, 65, 0.09);
  --shadow-card: 0 22px 44px rgba(50, 32, 65, 0.13);
  --shadow-atmosphere:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 18px 40px rgba(50, 32, 65, 0.08);

  --focus-ring: rgba(180, 61, 104, 0.86);

  --hero-halo:
    radial-gradient(circle at 50% 38%, rgba(255, 122, 168, 0.14), transparent 25%),
    radial-gradient(circle at 61% 50%, rgba(255, 184, 108, 0.11), transparent 30%);

  --hero-title-gradient: linear-gradient(
    90deg,
    #171722 0%,
    #b43d68 54%,
    #9d641f 100%
  );

  --cursor-aura:
    radial-gradient(circle, rgba(255, 122, 168, 0.2) 0%, rgba(255, 184, 108, 0.13) 46%, transparent 72%);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s ease, color 0.25s ease;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

main#main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* =========================================================
   SKIP LINK
   ========================================================= */
.skip-link {
  position: absolute;
  top: -52px;
  left: 16px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1300;
  padding: 14px 16px 0;
}

.header-shell {
  width: min(var(--header-width), calc(100vw - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    var(--surface-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--surface-soft), transparent),
    var(--surface);
  box-shadow: var(--shadow-atmosphere);
}

.brand__mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand__title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__sub {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav > a,
.desktop-products-toggle {
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  appearance: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible,
.desktop-products-toggle:hover,
.desktop-products-toggle:focus-visible {
  transform: translateY(-1px);
  background: var(--surface-soft);
  border-color: var(--border);
}

.desktop-nav > a.active,
.desktop-nav > a[aria-current="page"],
.desktop-products-toggle.is-active {
  border-color: var(--linkio-border);
  background: var(--surface-soft);
  font-weight: 500;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
}

.toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.22s ease;
}

.desktop-products-toggle[aria-expanded="true"] .toggle-icon,
.submenu-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.dropdown-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  transform: translateX(4px);
  background: var(--surface-soft);
  color: var(--text-main);
}

.dropdown-panel a.active,
.dropdown-panel a[aria-current="page"] {
  background: var(--linkio-soft);
  color: var(--linkio-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    var(--surface-strong);
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
  background: var(--surface-soft);
  border-color: var(--linkio-border);
}

.theme-toggle__icon {
  line-height: 1;
}

.hamburger {
  display: none;
}

.hamburger__lines {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
}

.hamburger__line {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.22s ease,
    opacity 0.18s ease,
    top 0.22s ease;
}

.hamburger__line--top {
  top: 0;
}

.hamburger__line--middle {
  top: 6.75px;
}

.hamburger__line--bottom {
  top: 13.5px;
}

.hamburger.active .hamburger__line--top {
  top: 6.75px;
  transform: rotate(45deg);
}

.hamburger.active .hamburger__line--middle {
  opacity: 0;
  transform: scaleX(0.72);
}

.hamburger.active .hamburger__line--bottom {
  top: 6.75px;
  transform: rotate(-45deg);
}

/* =========================================================
   MOBILE SIDEBAR
   ========================================================= */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(4, 6, 12, 0.52);
  backdrop-filter: blur(4px);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1100;
  width: min(340px, 88vw);
  padding: 92px 24px 28px;
  border-right: 1px solid var(--border);
  background: var(--sidebar-bg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transform: translateX(-104%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    visibility 0.28s ease;
}

.sidebar.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.sidebar > ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar li {
  border-bottom: 1px solid var(--sidebar-divider);
}

.sidebar li.has-submenu {
  border-bottom: none;
  margin-bottom: -0.2rem;
}

.sidebar a {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.sidebar a:hover,
.sidebar a:focus-visible {
  transform: translateX(4px);
  color: var(--linkio-strong);
}

.sidebar a.active,
.sidebar a[aria-current="page"] {
  position: relative;
  transform: translateX(4px);
  color: var(--linkio-strong);
}

.sidebar a.active::before,
.sidebar a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 6px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--linkio), var(--linkio-blue));
  box-shadow: 0 0 14px rgba(255, 122, 168, 0.22);
  transform: translateY(-50%);
}

.menu-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--sidebar-divider);
}

.menu-link {
  flex: 1;
  min-height: 50px;
  padding: 0;
}

.submenu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linkio-border);
  border-radius: 12px;
  background: transparent;
  color: var(--text-main);
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--linkio);
  background: var(--surface-soft);
}

.submenu {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 1rem;
  padding-left: 0.3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sidebar-divider);
}

.submenu li {
  margin-right: 20px;
}

.submenu a {
  min-height: 38px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   PRODUCT HERO
   ========================================================= */
.product-hero {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 92px 16px 46px;
  text-align: center;
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 48px 14% auto;
  z-index: -1;
  height: 230px;
  background: var(--hero-halo);
  filter: blur(48px);
  opacity: 0.78;
}

.product-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--linkio-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero h1 {
  display: inline-block;
  margin-inline: -0.04em;
  padding: 0 0.1em 0.08em 0.04em;
  background: var(--hero-title-gradient);
  font-size: clamp(2.7rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.06em;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  max-width: 48ch;
  margin: 1rem auto 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* =========================================================
   LINKIO CARD
   ========================================================= */
.linkio-section {
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
  padding: 14px 0 78px;
}

.linkio-card {
  position: relative;
  width: min(100%, 980px);
  margin-inline: auto;
  overflow: hidden;
  padding: 2.1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    var(--product-overlay),
    linear-gradient(135deg, var(--linkio-soft), transparent 44%),
    var(--product-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.linkio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 122, 168, 0.08), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 58%);
  opacity: 0.62;
  pointer-events: none;
}

.linkio-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--linkio), var(--linkio-blue));
  pointer-events: none;
}

.linkio-card:hover,
.linkio-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--linkio-border);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(255, 122, 168, 0.08);
}

.linkio-card__topline,
.linkio-card__grid {
  position: relative;
  z-index: 2;
}

.linkio-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.linkio-card__grid {
  display: grid;
  gap: clamp(1.9rem, 3.2vw, 2.55rem);
}

.linkio-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.82rem;
  border: 1px solid var(--linkio-border);
  border-radius: 999px;
  background: var(--linkio-soft);
  color: var(--linkio-strong);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-btn {
  width: auto;
  min-height: 40px;
  gap: 0.55rem;
  padding: 0.66rem 1rem;
}

.share-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.95;
}

.linkio-card__intro {
  width: min(100%, 780px);
  margin-inline: auto;
  text-align: center;
}

.linkio-card__intro p:not(.product-kicker) {
  max-width: 68ch;
  margin-inline: auto;
}

.product-kicker {
  margin-bottom: 0.65rem;
  color: var(--linkio-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.linkio-card h2 {
  margin-bottom: 0.55rem;
  color: var(--text-main);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.linkio-card p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* =========================================================
   PROFILE PREVIEW
   ========================================================= */
.linkio-profile-card {
  position: relative;
  width: min(100%, 520px);
  margin: 0.15rem auto 0.1rem;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(255, 122, 168, 0.08), rgba(255, 184, 108, 0.035)),
    var(--surface);
  box-shadow: var(--shadow-atmosphere);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.linkio-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 122, 168, 0.12), transparent 44%);
  pointer-events: none;
}

.linkio-profile-card:hover,
.linkio-profile-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--linkio-border);
  box-shadow:
    var(--shadow-atmosphere),
    0 0 26px rgba(255, 122, 168, 0.11);
}

.profile,
.links {
  position: relative;
  z-index: 2;
}

.profile {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  margin-bottom: 1.55rem;
  text-align: center;
}

.avatar {
  width: 148px;
  height: 148px;
  border: 2px solid var(--linkio-border);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-atmosphere);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.avatar:hover {
  transform: translateY(-2px) scale(1.035);
  box-shadow:
    var(--shadow-atmosphere),
    0 0 24px rgba(255, 122, 168, 0.14);
}

.profile-title {
  margin-top: 0.2rem;
  color: var(--text-main);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.profile-subtitle {
  max-width: 28ch;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.links {
  width: min(100%, 420px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.82rem;
}

.link-btn {
  width: 100%;
  min-height: 52px;
}

/* =========================================================
   CTA
   ========================================================= */
.linkio-cta {
  width: min(100%, 680px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--linkio-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 168, 0.14), rgba(255, 184, 108, 0.07)),
    rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.linkio-cta:hover,
.linkio-cta:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 181, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 16px 34px rgba(255, 122, 168, 0.1);
}

.linkio-cta__copy {
  display: grid;
  gap: 0.25rem;
  text-align: left;
}

.linkio-cta__label {
  color: var(--linkio-strong) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.linkio-cta__note {
  max-width: 56ch;
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.linkio-request-btn {
  width: auto;
  min-width: 180px;
  white-space: nowrap;
}

.linkio-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  align-items: center;
  justify-content: end;
  gap: 0.55rem;
}

.linkio-copy-email-btn {
  min-width: 120px;
  white-space: nowrap;
}

.linkio-copy-status {
  min-height: 1em;
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.74rem;
  text-align: right;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative;
  z-index: 3;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.78em 1.55em;
  border: 1px solid var(--product-button-border, var(--linkio-border));
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--product-button-bg, linear-gradient(135deg, rgba(255, 122, 168, 0.14), rgba(255, 184, 108, 0.08)));
  color: var(--btn-text);
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    opacity 0.24s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0 30%,
    rgba(255, 255, 255, 0.18) 45%,
    transparent 62%
  );
  transform: translateX(-110%);
  transition: transform 0.36s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.018);
  border-color: var(--product-button-border-hover, rgba(255, 140, 181, 0.64));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    var(--product-button-hover, linear-gradient(135deg, rgba(255, 122, 168, 0.82), rgba(255, 184, 108, 0.6)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    var(--product-button-shadow, 0 14px 30px rgba(255, 122, 168, 0.16));
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(110%);
}

.btn--secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.035);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.46;
  cursor: not-allowed;
  filter: grayscale(0.25);
  transform: none !important;
  box-shadow: none !important;
}

.btn[disabled]::before,
.btn[aria-disabled="true"]::before {
  display: none;
}

.btn[disabled]:hover,
.btn[aria-disabled="true"]:hover {
  border-color: var(--linkio-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.035);
}

body[data-theme="light"] .btn {
  color: #181923;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(50, 32, 65, 0.06);
}

/* =========================================================
   SUPPORT LINKS
   ========================================================= */
.tool-links,
.seo-note {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-muted);
  text-align: center;
}

.tool-links {
  margin-top: 1.3rem;
  font-size: 0.88rem;
  line-height: 1.8;
}

.tool-links a {
  color: var(--linkio-strong);
  font-weight: 600;
  transition: color 0.2s ease;
}

.tool-links a:hover,
.tool-links a:focus-visible {
  color: var(--text-main);
}

.seo-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.back-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.back-btn {
  min-width: 190px;
}

/* =========================================================
   SHARE / QR MODALS
   ========================================================= */
.share-modal,
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.share-modal.open,
.qr-modal.open {
  display: block;
}

.qr-modal {
  z-index: 3200;
}

.share-modal__backdrop,
.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.62);
  backdrop-filter: blur(8px);
}

.share-modal__panel {
  position: relative;
  width: min(92vw, 720px);
  margin: 8vh auto 0;
  padding: 1.35rem;
  border: 1px solid var(--linkio-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--surface-strong);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
  text-align: center;
}

.share-modal__close,
.qr-modal__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3300;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linkio-border);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.qr-modal__close {
  z-index: 3400;
}

.share-modal__close:hover,
.share-modal__close:focus-visible,
.qr-modal__close:hover,
.qr-modal__close:focus-visible {
  transform: translateY(-1px) scale(1.04);
  border-color: var(--linkio);
  background: var(--surface-soft);
}

.share-title {
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.share-subtitle {
  max-width: 46ch;
  margin: 0 auto 1.2rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.share-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.share-input {
  width: 100%;
  min-height: 50px;
  overflow-x: auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--input-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.share-input:focus {
  outline: none;
  border-color: var(--linkio-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 4px rgba(255, 122, 168, 0.1);
}

.share-copy {
  white-space: nowrap;
}

.share-qr {
  margin-top: 1.25rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.share-qr-frame {
  width: 230px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-atmosphere);
  cursor: zoom-in;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.share-qr-frame:hover,
.share-qr-frame:focus-within {
  transform: translateY(-2px);
  border-color: var(--linkio-border);
  box-shadow:
    var(--shadow-atmosphere),
    0 0 22px rgba(255, 122, 168, 0.1);
}

.share-qr-frame canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  background: #fff;
}

.share-download {
  min-width: 190px;
}

.share-powered {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.share-powered__brand {
  color: var(--linkio-strong);
  font-weight: 700;
}

.share-powered__brand:hover,
.share-powered__brand:focus-visible {
  color: var(--text-main);
}

.qr-modal__panel {
  position: relative;
  max-width: min(92vw, 720px);
  margin: 7vh auto 0;
  padding: 18px;
  border: 1px solid var(--linkio-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--surface-strong);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
}

#qrModalImg {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.mini {
  max-width: 24ch;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================================
   CURSOR AURA
   ========================================================= */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1600;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--cursor-aura);
  opacity: 0;
  filter: blur(10px) saturate(1.1);
  pointer-events: none;
  transform: translate3d(-120px, -120px, 0);
  transition:
    opacity 0.22s ease,
    filter 0.22s ease;
  will-change: transform;
}

.cursor-aura::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.72);
  image-rendering: pixelated;
  box-shadow:
    4px 0 0 rgba(255, 255, 255, 0.72),
    8px 0 0 rgba(255, 255, 255, 0.48),
    4px 4px 0 rgba(255, 255, 255, 0.82),
    4px 8px 0 rgba(255, 255, 255, 0.52);
}

body[data-theme="light"] .cursor-aura::before {
  background: rgba(255, 122, 168, 0.7);
  box-shadow:
    4px 0 0 rgba(255, 122, 168, 0.7),
    8px 0 0 rgba(255, 184, 108, 0.42),
    4px 4px 0 rgba(255, 255, 255, 0.82),
    4px 8px 0 rgba(255, 122, 168, 0.44);
}

.cursor-aura.is-visible {
  opacity: 0.62;
}

.cursor-aura.is-active {
  opacity: 0.88;
  filter: blur(7px) saturate(1.16);
}

.cursor-aura.is-pressed {
  opacity: 0.48;
}

/* =========================================================
   FOCUS
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.linkio-profile-card:focus-visible,
.share-qr-frame:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: grid;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .header-shell,
  .product-hero,
  .linkio-section {
    width: calc(100vw - 24px);
  }

  .brand__sub {
    display: none;
  }

  .product-hero {
    padding-top: 78px;
    padding-bottom: 34px;
  }

  .product-hero::before {
    inset: 42px 8% auto;
    height: 185px;
    filter: blur(42px);
  }

  .product-eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
  }

  .product-hero h1 {
    margin-inline: -0.04em;
    padding: 0 0.1em 0.09em 0.04em;
    font-size: clamp(2.45rem, 14vw, 3.4rem);
    line-height: 1.06;
  }

  .subtitle {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .linkio-section {
    padding-top: 4px;
    padding-bottom: 64px;
  }

  .linkio-card {
    padding: 1.45rem 1.2rem 1.35rem;
    border-radius: 22px;
  }

  .linkio-card__topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.25rem;
  }

  .linkio-card__grid {
    gap: 1.55rem;
  }

  .share-btn {
    width: auto;
  }

  .linkio-card h2 {
    font-size: 1.65rem;
  }

  .linkio-card p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .linkio-profile-card {
    width: 100%;
    padding: 1rem;
    border-radius: 22px;
  }

  .linkio-cta {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 0.9rem;
  }

  .linkio-cta__actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .linkio-request-btn,
  .linkio-copy-email-btn {
    width: 100%;
  }

  .linkio-copy-status {
    text-align: center;
  }

  .avatar {
    width: 120px;
    height: 120px;
  }

  .profile-title {
    font-size: 1.22rem;
  }

  .btn {
    width: 100%;
    min-height: 42px;
    padding: 0.72rem 1.15rem;
    font-size: 0.88rem;
  }

  .share-row {
    grid-template-columns: 1fr;
  }

  .share-qr-frame {
    width: 210px;
    padding: 12px;
    border-radius: 20px;
  }

  .share-modal__panel {
    margin-top: 9vh;
    padding: 1.15rem;
    border-radius: 20px;
  }

  .qr-modal__panel {
    margin-top: 9vh;
    padding: 12px;
    border-radius: 20px;
  }

  .share-modal__close,
  .qr-modal__close {
    top: 14px;
    right: 14px;
  }

  .tool-links {
    margin-top: 1.05rem;
    font-size: 0.82rem;
  }

  .seo-note {
    font-size: 0.84rem;
    line-height: 1.62;
  }

  .site-footer {
    margin-bottom: 2rem;
    padding: 0 12px;
  }
}

@media (max-width: 360px) {
  .linkio-card {
    padding-inline: 1rem;
  }

  .share-qr-frame {
    width: 196px;
  }

  .submenu li {
    margin-right: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .cursor-aura {
    display: none !important;
  }

  .linkio-card:hover,
  .linkio-profile-card:hover,
  .share-qr-frame:hover,
  .desktop-nav > a:hover,
  .desktop-products-toggle:hover,
  .icon-button:hover,
  .submenu-toggle:hover,
  .linkio-cta:hover,
  .btn:hover {
    transform: none !important;
  }
}