:root {
  --fx-bg: #07080b;
  --fx-panel: #0d1016;
  --fx-panel-strong: #121722;
  --fx-text: #f7f7fb;
  --fx-muted: #a4a9b5;
  --fx-line: rgba(255, 255, 255, 0.1);
  --fx-pink: #ff248e;
  --fx-blue: #4a86ff;
  --fx-cyan: #6cf5ff;
  --fx-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fx-bg);
  color: var(--fx-text);
  font-family: 'Rubik', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 10%, rgba(74, 134, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 8% 42%, rgba(255, 36, 142, 0.08), transparent 30rem),
    #07080b;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--fx-cyan); outline-offset: 4px; }

.fx-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  background: #fff;
  color: #090b10;
  font-weight: 700;
  transition: top 180ms ease;
}
.fx-skip:focus { top: 0; }

.fx-wrap { width: min(calc(100% - 48px), var(--fx-max)); margin: 0 auto; }
.fx-section { position: relative; padding: 108px 0; }
.fx-section--line { border-top: 1px solid var(--fx-line); }
.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--fx-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fx-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fx-pink), var(--fx-cyan));
}
.fx-title {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.fx-title em { color: var(--fx-pink); font-style: normal; }
.fx-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--fx-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}
.fx-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 64px; align-items: end; margin-bottom: 52px; }
.fx-section-head .fx-lead { margin: 0; font-size: 17px; }

.fx-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.fx-button:hover { transform: translateY(-3px); }
.fx-button--primary {
  background: linear-gradient(135deg, var(--fx-pink), #cb0067);
  box-shadow: 0 16px 40px rgba(255, 36, 142, 0.28);
}
.fx-button--primary:hover { box-shadow: 0 20px 48px rgba(255, 36, 142, 0.4); }
.fx-button--secondary { border-color: var(--fx-line); background: rgba(255, 255, 255, 0.035); }
.fx-button--secondary:hover { border-color: rgba(108, 245, 255, 0.5); background: rgba(108, 245, 255, 0.06); }

/* Hero */
.fx-hero {
  position: relative;
  min-height: 820px;
  padding: 158px 0 96px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.fx-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(transparent, var(--fx-bg));
}
.fx-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr); gap: 72px; align-items: center; }
.fx-hero-copy { position: relative; z-index: 2; }
.fx-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 9px 14px;
  border: 1px solid rgba(108, 245, 255, 0.28);
  border-radius: 999px;
  background: rgba(108, 245, 255, 0.06);
  color: var(--fx-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fx-hero-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-cyan); box-shadow: 0 0 14px var(--fx-cyan); }
.fx-hero h1 {
  margin: 0;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.85;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.fx-hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); }
.fx-hero-copy > p { max-width: 590px; margin: 30px 0 0; color: #c1c5ce; font-size: 19px; line-height: 1.65; }
.fx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fx-proofline { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 34px 0 0; padding: 0; list-style: none; color: #d9dce3; font-size: 13px; }
.fx-proofline li { display: flex; align-items: center; gap: 8px; }
.fx-proofline li::before { content: '✓'; color: var(--fx-cyan); font-weight: 800; }

.fx-stage { position: relative; min-height: 600px; perspective: 1000px; }
.fx-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: var(--fx-panel);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}
.fx-photo img { width: 100%; height: 100%; object-fit: cover; }
.fx-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 10, 0.78)); pointer-events: none; }
.fx-photo--main { inset: 0 42px 18px 90px; z-index: 2; transform: rotate(2.2deg); }
.fx-photo--left { width: 34%; height: 47%; left: 0; top: 32px; z-index: 3; transform: rotate(-7deg); }
.fx-photo--right { width: 35%; height: 43%; right: 0; bottom: 0; z-index: 4; transform: rotate(7deg); }
.fx-photo-tag {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 7, 10, 0.78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fx-qr-card {
  position: absolute;
  right: 18px;
  top: 44px;
  z-index: 5;
  width: 154px;
  padding: 14px;
  border: 1px solid rgba(108, 245, 255, 0.35);
  border-radius: 18px;
  background: rgba(10, 13, 19, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}
.fx-qr-code { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; aspect-ratio: 1; padding: 9px; border-radius: 10px; background: #fff; }
.fx-qr-code i { background: #10131a; border-radius: 1px; }
.fx-qr-code i:nth-child(2n), .fx-qr-code i:nth-child(7), .fx-qr-code i:nth-child(13), .fx-qr-code i:nth-child(18) { background: transparent; }
.fx-qr-card strong { display: block; margin-top: 10px; font-size: 11px; line-height: 1.35; text-align: center; text-transform: uppercase; letter-spacing: 0.08em; }

/* Definition block */
.fx-answer { padding-top: 44px; }
.fx-answer-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(108, 245, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(74, 134, 255, 0.1), rgba(255, 36, 142, 0.055));
}
.fx-answer-box h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; }
.fx-answer-box p { margin: 0; color: #c7cbd4; font-size: 17px; line-height: 1.7; }
.fx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--fx-line); border-radius: 18px; overflow: hidden; }
.fx-facts li { min-height: 94px; padding: 18px; border-right: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); background: rgba(7, 8, 11, 0.5); }
.fx-facts li:nth-child(2n) { border-right: 0; }
.fx-facts li:nth-last-child(-n + 2) { border-bottom: 0; }
.fx-facts small { display: block; margin-bottom: 7px; color: var(--fx-muted); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.fx-facts strong { font-size: 14px; line-height: 1.35; }

/* Steps */
.fx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.fx-step {
  position: relative;
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--fx-line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  counter-increment: step;
}
.fx-step::before { content: '0' counter(step); display: block; margin-bottom: 64px; color: var(--fx-cyan); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.fx-step:not(:last-child)::after { content: ''; position: absolute; top: 43px; left: 59px; width: calc(100% - 44px); height: 1px; background: linear-gradient(90deg, var(--fx-cyan), transparent); opacity: 0.45; }
.fx-step h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.02em; }
.fx-step p { margin: 0; color: var(--fx-muted); font-size: 14px; line-height: 1.65; }

/* Visual examples */
.fx-gallery { display: grid; grid-template-columns: 1.25fr 0.875fr 0.875fr; gap: 18px; }
.fx-gallery-card { position: relative; min-height: 560px; overflow: hidden; border: 1px solid var(--fx-line); border-radius: 26px; background: var(--fx-panel); }
.fx-gallery-card:nth-child(n+2) { min-height: 480px; margin-top: 80px; }
.fx-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.fx-gallery-card:hover img { transform: scale(1.035); }
.fx-gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,6,9,0.94)); }
.fx-gallery-copy { position: absolute; z-index: 2; inset: auto 24px 25px; }
.fx-gallery-copy span { display: inline-block; margin-bottom: 9px; color: var(--fx-cyan); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.fx-gallery-copy h3 { margin: 0 0 7px; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; }
.fx-gallery-copy p { margin: 0; color: #c7cad1; font-size: 13px; line-height: 1.55; }

/* Use cases */
.fx-contexts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fx-context {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-radius: 24px;
  background: var(--fx-panel);
}
.fx-context::before { content: ''; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(74,134,255,0.24), transparent 67%); }
.fx-context:nth-child(2)::before, .fx-context:nth-child(3)::before { background: radial-gradient(circle, rgba(255,36,142,0.22), transparent 67%); }
.fx-context-num { color: var(--fx-cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.fx-context h3 { max-width: 430px; margin: 76px 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.035em; }
.fx-context p { max-width: 500px; margin: 0; color: var(--fx-muted); line-height: 1.65; }

/* Formats and table */
.fx-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fx-format { padding: 40px; border: 1px solid var(--fx-line); border-radius: 26px; background: var(--fx-panel); }
.fx-format-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 46px; border-radius: 16px; background: rgba(108,245,255,0.1); color: var(--fx-cyan); font-size: 23px; }
.fx-format:nth-child(2) .fx-format-icon { background: rgba(255,36,142,0.11); color: var(--fx-pink); }
.fx-format h3 { margin: 0 0 13px; font-size: 31px; letter-spacing: -0.035em; }
.fx-format p { margin: 0; color: var(--fx-muted); line-height: 1.7; }
.fx-format ul { margin: 24px 0 0; padding: 0; list-style: none; }
.fx-format li { position: relative; margin-top: 10px; padding-left: 22px; color: #d8dbe1; font-size: 14px; }
.fx-format li::before { content: '+'; position: absolute; left: 0; color: var(--fx-cyan); font-weight: 700; }

.fx-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--fx-line); border-radius: 22px; }
.fx-table { width: 100%; min-width: 740px; border-collapse: collapse; background: rgba(13,16,22,0.7); }
.fx-table th, .fx-table td { padding: 21px 24px; border-bottom: 1px solid var(--fx-line); text-align: left; vertical-align: top; }
.fx-table tr:last-child th, .fx-table tr:last-child td { border-bottom: 0; }
.fx-table th { width: 25%; color: var(--fx-cyan); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.fx-table td { color: #c8ccd5; font-size: 14px; line-height: 1.55; }
.fx-table td strong { color: #fff; }

/* Scope */
.fx-scope { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.fx-scope-sticky { position: sticky; top: 120px; }
.fx-scope-list { display: grid; gap: 12px; }
.fx-scope-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--fx-line); border-radius: 18px; background: rgba(255,255,255,0.025); }
.fx-scope-item span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(74,134,255,0.11); color: var(--fx-cyan); font-weight: 700; }
.fx-scope-item h3 { margin: 2px 0 7px; font-size: 18px; }
.fx-scope-item p { margin: 0; color: var(--fx-muted); font-size: 14px; line-height: 1.6; }

/* FAQ */
.fx-faq { display: grid; grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr); gap: 72px; }
.fx-faq-list { border-top: 1px solid var(--fx-line); }
.fx-faq details { border-bottom: 1px solid var(--fx-line); }
.fx-faq summary { position: relative; padding: 25px 46px 25px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.4; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: '+'; position: absolute; right: 4px; top: 21px; color: var(--fx-cyan); font-size: 28px; font-weight: 300; transition: transform 180ms ease; }
.fx-faq details[open] summary::after { transform: rotate(45deg); }
.fx-faq details p { max-width: 720px; margin: -3px 0 25px; color: var(--fx-muted); line-height: 1.7; }

/* CTA and footer */
.fx-cta { padding: 0 0 94px; }
.fx-cta-box { position: relative; overflow: hidden; padding: 72px; border: 1px solid rgba(255,36,142,0.28); border-radius: 32px; background: linear-gradient(135deg, #18101a, #0b1524); text-align: center; }
.fx-cta-box::before, .fx-cta-box::after { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(108,245,255,0.13); border-radius: 50%; }
.fx-cta-box::before { left: -130px; top: -180px; }
.fx-cta-box::after { right: -150px; bottom: -190px; }
.fx-cta-box h2 { position: relative; margin: 0 auto; max-width: 800px; font-size: clamp(40px, 6vw, 74px); line-height: 0.98; letter-spacing: -0.05em; }
.fx-cta-box p { position: relative; max-width: 660px; margin: 22px auto 30px; color: #bbc0cb; font-size: 17px; line-height: 1.65; }
.fx-cta-box .fx-button { position: relative; }
.fx-footer { padding: 36px 0 42px; border-top: 1px solid var(--fx-line); }
.fx-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.fx-footer img { width: 152px; height: auto; }
.fx-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; color: var(--fx-muted); font-size: 13px; }
.fx-footer-links a { text-decoration: none; }
.fx-footer-links a:hover { color: var(--fx-cyan); }
.fx-float-wa { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--fx-pink), #d00069); color: #fff; text-decoration: none; box-shadow: 0 12px 34px rgba(255,36,142,0.4); font-size: 25px; transition: transform 180ms ease; }
.fx-float-wa:hover { transform: translateY(-3px) scale(1.03); }

@media (max-width: 1080px) {
  .fx-hero { min-height: auto; }
  .fx-hero-grid { grid-template-columns: 1fr; }
  .fx-hero-copy { max-width: 760px; }
  .fx-stage { min-height: 650px; width: min(100%, 720px); margin: 0 auto; }
  .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-step:not(:last-child)::after { display: none; }
  .fx-gallery { grid-template-columns: 1.2fr 1fr; }
  .fx-gallery-card:nth-child(2) { margin-top: 70px; }
  .fx-gallery-card:nth-child(3) { grid-column: 1 / -1; min-height: 600px; margin-top: 0; }
  .fx-scope { gap: 42px; }
}

@media (max-width: 780px) {
  .fx-wrap { width: min(calc(100% - 32px), var(--fx-max)); }
  .fx-section { padding: 78px 0; }
  .fx-section-head, .fx-answer-box, .fx-scope, .fx-faq { grid-template-columns: 1fr; gap: 30px; }
  .fx-section-head { margin-bottom: 36px; }
  .fx-hero { padding: 124px 0 76px; }
  .fx-hero-grid { gap: 54px; }
  .fx-hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .fx-hero-copy > p { font-size: 17px; }
  .fx-stage { min-height: 500px; }
  .fx-photo--main { inset: 0 28px 18px 46px; }
  .fx-photo--left { width: 36%; height: 43%; top: 25px; }
  .fx-photo--right { width: 38%; height: 40%; }
  .fx-qr-card { width: 126px; right: 6px; top: 22px; }
  .fx-answer { padding-top: 20px; }
  .fx-answer-box { padding: 30px; }
  .fx-steps, .fx-contexts, .fx-formats { grid-template-columns: 1fr; }
  .fx-step { min-height: auto; }
  .fx-step::before { margin-bottom: 38px; }
  .fx-gallery { grid-template-columns: 1fr; }
  .fx-gallery-card, .fx-gallery-card:nth-child(n+2), .fx-gallery-card:nth-child(3) { min-height: 520px; margin-top: 0; grid-column: auto; }
  .fx-scope-sticky { position: static; }
  .fx-cta-box { padding: 54px 28px; }
  .fx-footer-row { align-items: flex-start; flex-direction: column; }
  .fx-footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .fx-button { width: 100%; }
  .fx-proofline { display: grid; gap: 12px; }
  .fx-stage { min-height: 410px; }
  .fx-photo { border-radius: 20px; }
  .fx-photo--main { inset: 10px 13px 0 36px; }
  .fx-photo--left { width: 38%; height: 39%; top: 0; }
  .fx-photo--right { width: 40%; height: 38%; }
  .fx-qr-card { display: none; }
  .fx-photo-tag { left: 12px; bottom: 11px; padding: 6px 9px; font-size: 8px; }
  .fx-facts { grid-template-columns: 1fr; }
  .fx-facts li, .fx-facts li:nth-child(2n), .fx-facts li:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--fx-line); }
  .fx-facts li:last-child { border-bottom: 0; }
  .fx-gallery-card, .fx-gallery-card:nth-child(n+2), .fx-gallery-card:nth-child(3) { min-height: 430px; }
  .fx-context { padding: 26px; }
  .fx-format { padding: 30px; }
  .fx-scope-item { grid-template-columns: 44px 1fr; padding: 19px; }
  .fx-scope-item span { width: 44px; height: 44px; }
  .fx-float-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
