:root {
  color-scheme: dark;
  --ink: #071315;
  --ink-soft: #102326;
  --paper: #f5f3ec;
  --paper-deep: #eae7dc;
  --white: #ffffff;
  --cyan: #32e6e2;
  --cyan-deep: #0ba7ab;
  --gold: #e9bd58;
  --muted: #93a9aa;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgba(7, 19, 21, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1240px, calc(100% - 36px));
  min-height: 104px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy strong {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.brand-copy small {
  margin-top: 8px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand-logo {
  width: 96px;
  height: 88px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: #fff;
  background-image: url("assets/ai-render.webp");
  background-repeat: no-repeat;
  background-size: 560px 315px;
  background-position: -22px -10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  font-size: 13px;
  font-weight: 700;
  color: #c9d5d5;
}

.main-nav > a:not(.nav-line) {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav > a:not(.nav-line)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
  color: var(--white);
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-line {
  padding: 10px 14px;
  border: 1px solid rgba(50, 230, 226, 0.38);
  border-radius: 999px;
  color: var(--cyan);
  transition: 0.2s ease;
}

.nav-line:hover {
  background: var(--cyan);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 180px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 55% 20%, #14383b 0, #071315 46%, #050d0e 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(5, 13, 14, 0.96));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 70px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(58px, 5.8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-title-main,
.hero h1 em {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero h1 em {
  margin-top: 12px;
  color: var(--cyan);
  font-size: 0.72em;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-description-th {
  max-width: 590px;
  margin: 30px 0 0;
  color: #b8c9c9;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
}

.hero-description-en {
  max-width: 610px;
  margin: 12px 0 0;
  color: #9aadae;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.015em;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 49px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(50, 230, 226, 0.2);
}

.button-primary:hover {
  background: #75f5f2;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  margin-top: 30px;
  background: var(--ink);
  color: var(--white);
}

.button-ghost-dark {
  border-color: rgba(7, 19, 21, 0.16);
  background: transparent;
  color: var(--ink);
}

.hero-proof {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  min-width: 0;
  padding: 22px 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-proof strong {
  font-size: 23px;
  color: var(--white);
}

.hero-proof span {
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 585px;
}

.visual-orbit {
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  top: 63px;
  left: 50%;
  border: 1px solid rgba(50, 230, 226, 0.18);
  border-radius: 50%;
  transform: translateX(-50%);
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.visual-orbit::before {
  transform: translate(-220px, -94px);
}

.visual-orbit::after {
  transform: translate(212px, 103px);
}

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: #142427;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 62%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-card figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-card figcaption span {
  color: var(--cyan);
}

.hero-card-main {
  z-index: 3;
  width: 82%;
  height: 45%;
  top: 90px;
  right: 0;
  transform: rotate(1.8deg);
}

.hero-card-left {
  z-index: 4;
  width: 51%;
  height: 31%;
  left: 0;
  bottom: 63px;
  transform: rotate(-3.5deg);
}

.hero-card-right {
  z-index: 2;
  width: 50%;
  height: 30%;
  right: 5px;
  bottom: 20px;
  transform: rotate(4deg);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  top: 30px;
  right: 4%;
  background: var(--cyan);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  left: 1%;
  bottom: 20px;
  background: #9f7127;
}

.hero-marquee {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.21);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.hero-marquee div {
  width: max-content;
  padding: 18px 0;
  animation: marquee 27s linear infinite;
}

.hero-marquee i {
  padding: 0 14px;
  color: var(--cyan);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.plugins-section {
  position: relative;
  padding: 120px 0 130px;
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 48px;
}

.section-heading .section-kicker {
  margin-bottom: 15px;
  color: var(--cyan-deep);
}

.section-heading h2,
.install-intro h2,
.contact-shell h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading > p,
.install-intro > p,
.contact-shell > div > p:last-child {
  margin: 0;
  color: #516466;
  line-height: 1.75;
  font-size: 16px;
}

.filter-bar {
  margin: 48px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  padding: 10px 16px;
  border: 1px solid rgba(7, 19, 21, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #526365;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-button span {
  margin-left: 6px;
  opacity: 0.55;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.plugin-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 21, 0.11);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 35px rgba(7, 19, 21, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plugin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 23px 62px rgba(7, 19, 21, 0.14);
}

.plugin-card[hidden] {
  display: none;
}

.plugin-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce4e1;
}

.plugin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.plugin-card:hover .plugin-media img {
  transform: scale(1.035);
}

.plugin-number {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(7, 19, 21, 0.78);
  color: var(--cyan);
  font-weight: 900;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.plugin-body {
  padding: 22px 22px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.plugin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plugin-type {
  color: var(--cyan-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.version-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 7px;
  background: #eef3f0;
  color: #5b6b6a;
  font-size: 10px;
  font-weight: 800;
}

.plugin-body h3 {
  margin: 15px 0 10px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.plugin-summary {
  min-height: 54px;
  margin: 0;
  color: #5b6a6b;
  font-size: 14px;
  line-height: 1.7;
}

.plugin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
}

.plugin-tags span {
  padding: 5px 8px;
  border: 1px solid #dce4e1;
  border-radius: 7px;
  color: #697879;
  font-size: 10px;
  font-weight: 800;
}

.plugin-actions {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 19, 21, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.card-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.card-button.video {
  border-color: rgba(11, 167, 171, 0.25);
  background: #e7f8f6;
  color: #087e82;
}

.card-button.video:hover {
  border-color: var(--cyan-deep);
  background: var(--cyan-deep);
  color: #fff;
}

.plugin-line-link {
  grid-column: 1 / -1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f3ef;
  color: #687574;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s ease;
}

.plugin-line-link:hover {
  background: #06c755;
  color: #fff;
}

.workflow-section {
  padding: 115px 0;
  background: #071315;
}

.workflow-shell {
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 0%, rgba(50, 230, 226, 0.13), transparent 29%),
    linear-gradient(145deg, #102428, #091719 64%);
  box-shadow: var(--shadow);
}

.section-heading.light {
  color: var(--white);
}

.section-heading.light > p {
  color: #9fb2b3;
}

.section-heading.light .section-kicker {
  color: var(--gold);
}

.workflow-track {
  position: relative;
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.workflow-track::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: 0.35;
}

.workflow-track article {
  position: relative;
  z-index: 1;
  min-height: 258px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(5, 16, 18, 0.78);
}

.workflow-track article > span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 900;
  font-size: 12px;
}

.workflow-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 230, 226, 0.4);
  border-radius: 16px;
  background: #102c2f;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.workflow-track h3 {
  margin: 25px 0 11px;
  font-size: 18px;
}

.workflow-track p {
  margin: 0;
  color: #9cb0b1;
  font-size: 13px;
  line-height: 1.75;
}

.install-section {
  padding: 120px 0;
  background: var(--paper);
  color: var(--ink);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.install-intro {
  position: sticky;
  top: 120px;
}

.install-intro .section-kicker {
  color: var(--cyan-deep);
}

.install-intro > p {
  margin-top: 25px;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-steps li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(7, 19, 21, 0.12);
}

.install-steps li:first-child {
  border-top: 1px solid rgba(7, 19, 21, 0.12);
}

.install-steps li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-weight: 900;
}

.install-steps strong {
  font-size: 17px;
}

.install-steps p {
  margin: 5px 0 0;
  color: #687778;
  font-size: 13px;
  line-height: 1.6;
}

.contact-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: var(--cyan);
  color: var(--ink);
}

.contact-pattern {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-radial-gradient(circle at 35% 40%, transparent 0 48px, rgba(7, 19, 21, 0.12) 49px 50px),
    linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.35));
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.85fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.contact-shell .section-kicker {
  color: #075f62;
}

.contact-shell > div > p:last-child {
  max-width: 560px;
  margin-top: 24px;
  color: #174b4e;
}

.social-stack {
  display: grid;
  gap: 10px;
}

.social-button {
  position: relative;
  z-index: 1;
  min-height: 78px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(7, 19, 21, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(7, 19, 21, 0.08);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(7, 207, 222, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-button:hover {
  transform: translateX(6px);
  background: #fff;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.social-button.line .social-icon {
  background: #06c755;
}

.social-button.instagram .social-icon {
  background: linear-gradient(135deg, #8134af, #dd2a7b, #feda77);
}

.social-button.facebook .social-icon {
  background: #1877f2;
  font-size: 24px;
}

.social-button small,
.social-button strong {
  display: block;
}

.social-button small {
  margin-bottom: 2px;
  color: #657271;
  font-size: 10px;
}

.social-button strong {
  font-size: 15px;
}

.social-button b {
  font-size: 20px;
}

.site-footer {
  padding: 34px 0;
  background: #050d0e;
  color: #91a3a4;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-logo {
  width: 84px;
  height: 76px;
  background-size: 480px 270px;
  background-position: -18px -8px;
}

.footer-grid p {
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.footer-grid > a:last-child {
  font-size: 12px;
  color: var(--cyan);
}

.floating-line {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  min-width: 116px;
  min-height: 54px;
  padding: 8px 16px 8px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.27);
  transition: transform 0.2s ease;
}

.floating-line:hover {
  transform: translateY(-4px);
}

.floating-line span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #06a947;
  font-size: 8px;
  font-weight: 900;
}

.floating-line strong {
  font-size: 12px;
}

.modal {
  width: min(900px, calc(100% - 32px));
  max-height: min(850px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
}

.modal::backdrop {
  background: rgba(2, 9, 10, 0.78);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 19, 21, 0.76);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.modal-media {
  aspect-ratio: 16 / 8.2;
  background: #dce4e1 center / cover no-repeat;
}

.modal-body {
  padding: clamp(28px, 5vw, 52px);
}

.modal-kicker {
  margin: 0 0 12px;
  color: var(--cyan-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.modal h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.04em;
}

.modal-summary {
  margin: 18px 0 0;
  color: #596a6b;
  font-size: 16px;
  line-height: 1.8;
}

.modal ul {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.modal li {
  position: relative;
  padding: 13px 15px 13px 40px;
  border-radius: 12px;
  background: #f0f4f1;
  color: #405153;
  line-height: 1.55;
}

.modal li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 15px;
  color: var(--cyan-deep);
  font-weight: 900;
}

.video-modal {
  width: min(680px, calc(100% - 32px));
}

.video-placeholder {
  min-height: 310px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, #17383b, #071315);
  background-size: 36px 36px, 36px 36px, auto;
  color: #fff;
}

.video-placeholder p {
  margin: 0;
  color: #8ea6a7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.play-ring {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 230, 226, 0.6);
  border-radius: 50%;
  color: var(--cyan);
  box-shadow: 0 0 0 12px rgba(50, 230, 226, 0.06), 0 0 60px rgba(50, 230, 226, 0.25);
}

.play-ring span {
  margin-left: 5px;
  font-size: 26px;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .nav-shell {
    gap: 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    margin-top: 6px;
    font-size: 7px;
    letter-spacing: 0.11em;
  }

  .main-nav {
    gap: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-card-main {
    width: 70%;
    right: 6%;
  }

  .hero-card-left {
    width: 45%;
    left: 5%;
  }

  .hero-card-right {
    width: 42%;
    right: 9%;
  }

  .plugin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-track::before {
    display: none;
  }

  .contact-shell {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(7, 19, 21, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .nav-line {
    margin-top: 7px;
    text-align: center;
  }

  .section-heading,
  .install-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .install-intro {
    position: static;
  }

  .contact-shell {
    gap: 42px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    width: calc(100% - 24px);
    min-height: 82px;
  }

  .brand-logo {
    width: 74px;
    height: 68px;
    border-radius: 10px;
    background-size: 430px 242px;
    background-position: -17px -8px;
  }

  .brand {
    gap: 9px;
  }

  .brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.035em;
  }

  .brand-copy small {
    margin-top: 5px;
    font-size: 6px;
    letter-spacing: 0.09em;
  }

  .hero {
    padding: 140px 0 72px;
  }

  .hero h1 {
    font-size: clamp(48px, 13.5vw, 62px);
  }

  .hero h1 em {
    margin-top: 9px;
    font-size: 0.66em;
    letter-spacing: -0.035em;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-orbit {
    width: 310px;
    top: 40px;
  }

  .hero-card-main {
    width: 88%;
    height: 42%;
    top: 55px;
    right: 1%;
  }

  .hero-card-left {
    width: 58%;
    height: 28%;
    left: 1%;
    bottom: 55px;
  }

  .hero-card-right {
    width: 54%;
    height: 27%;
    right: 1%;
    bottom: 14px;
  }

  .plugins-section,
  .install-section {
    padding: 85px 0;
  }

  .workflow-section,
  .contact-section {
    padding: 75px 0;
  }

  .plugin-grid,
  .workflow-track {
    grid-template-columns: 1fr;
  }

  .workflow-track article {
    min-height: auto;
  }

  .plugin-summary {
    min-height: auto;
  }

  .install-grid {
    gap: 45px;
  }

  .install-steps li {
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }

  .install-steps li > span {
    width: 42px;
    height: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .floating-line {
    right: 12px;
    bottom: 12px;
  }

  .modal ul {
    grid-template-columns: 1fr;
  }
}

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