:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #eef2ff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.18);
  --primary: #2563eb;
  --primary-strong: #174dcc;
  --secondary: #7c3aed;
  --cyan: #0891b2;
  --header: rgba(245, 247, 251, 0.84);
  --shadow: 0 24px 70px rgba(37, 54, 87, 0.14);
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080b14;
  --surface: rgba(18, 24, 39, 0.9);
  --surface-solid: #111827;
  --surface-soft: #151c31;
  --text: #f7f9ff;
  --muted: #a8b2c6;
  --line: rgba(226, 232, 240, 0.11);
  --line-strong: rgba(226, 232, 240, 0.20);
  --primary: #60a5fa;
  --primary-strong: #93c5fd;
  --header: rgba(8, 11, 20, 0.84);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, 0.10), transparent 31rem),
    radial-gradient(circle at 90% 28%, rgba(124, 58, 237, 0.09), transparent 27rem),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background-color 180ms ease, color 180ms ease;
}
button, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; inset-block-start: 12px; inset-inline-start: 12px; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.showcase-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: var(--header); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.header-inner, .section-shell, .showcase-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .header-actions, .editor-link, .hero-tool-list, .footer-brand, .showcase-footer nav { display: flex; align-items: center; }
.brand { gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: -0.03em; }
.brand-mark { width: 39px; height: 39px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.25); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 1.08rem; }
.brand-mode { padding: 4px 8px; border: 1px solid rgba(37, 99, 235, 0.20); border-radius: 999px; background: rgba(37, 99, 235, 0.08); color: var(--primary); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.header-actions { gap: 10px; }
.editor-link { gap: 7px; padding: 9px 12px; color: var(--muted); font-size: 0.88rem; font-weight: 800; text-decoration: none; }
.editor-link:hover { color: var(--primary); }
.language-select-wrap { position: relative; display: inline-flex; }
.language-select-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.language-select-button, .theme-toggle { min-height: 42px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--text); cursor: pointer; }
.language-select-button { min-width: 152px; max-width: 205px; gap: 9px; padding: 8px 11px; display: flex; align-items: center; }
.language-select-flag { flex: 0 0 auto; width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.13); }
.language-select-button-label, .language-select-option-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.84rem; font-weight: 750; }
.language-select-arrow { width: 8px; height: 8px; margin-inline-start: auto; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.58; }
.language-select-menu { position: absolute; z-index: 180; inset-block-start: calc(100% + 10px); inset-inline-end: 0; width: min(310px, calc(100vw - 28px)); max-height: min(510px, calc(100vh - 100px)); overflow: auto; padding: 8px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface-solid); box-shadow: var(--shadow); }
.language-select-menu[hidden] { display: none; }
.language-select-option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: start; cursor: pointer; }
.language-select-option:hover, .language-select-option.is-active { background: var(--surface-soft); color: var(--primary); }
.theme-toggle { width: 42px; padding: 0; font-size: 1rem; }

.hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(40px, 7vw, 96px); padding-block: clamp(72px, 9vw, 132px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--primary); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(2.75rem, 5.2vw, 5.35rem); line-height: 0.98; letter-spacing: -0.065em; }
.hero-lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 14px; font-weight: 850; text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: transparent; background: var(--primary); color: #fff; box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24); }
.button-secondary { background: var(--surface); }
.hero-tool-list { flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-tool-list li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.hero-tool-list li span:first-child { color: var(--primary); font-size: 1rem; }
.hero-visual { position: relative; min-width: 0; }
.hero-glow { position: absolute; inset: 8% 2%; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, 0.24), transparent 68%); filter: blur(28px); }
.product-frame { position: relative; z-index: 2; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: clamp(22px, 3vw, 38px); background: var(--surface-solid); box-shadow: var(--shadow); transform: rotate(1.4deg); }
.product-frame img { width: 100%; height: auto; }
.floating-tag { position: absolute; z-index: 3; display: inline-flex; gap: 7px; align-items: baseline; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.13); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--muted); font-size: 0.78rem; }
.floating-tag b { color: var(--text); font-size: 0.94rem; }
.floating-tag-one { inset-block-start: 9%; inset-inline-start: -3%; }
.floating-tag-two { inset-block-end: 8%; inset-inline-end: -2%; }
.proof-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(calc(100% - 40px), var(--max)); margin: 0 auto 72px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 36px rgba(37, 54, 87, 0.08); }
.proof-strip div { padding: 22px; text-align: center; }
.proof-strip div + div { border-inline-start: 1px solid var(--line); }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: 1.35rem; }
.proof-strip span { margin-top: 4px; color: var(--muted); font-size: 0.78rem; }

.capabilities-section,
.gallery-section,
.workflow-section,
.comparison-section,
.faq-section,
.languages-section {
  padding-block: clamp(76px, 9vw, 130px);
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 760px);
  align-items: start;
  gap: clamp(22px, 4vw, 54px);
  margin-bottom: 44px;
}

.section-heading-center {
  justify-content: center;
  grid-template-columns: auto minmax(0, 780px);
  text-align: center;
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 32px;
  padding-inline: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h2,
.workflow-copy h2,
.faq-heading h2,
.languages-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p,
.workflow-copy > p,
.languages-section p,
.final-cta p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(37, 54, 87, 0.07);
}

.capability-card::after {
  position: absolute;
  content: "";
  width: 170px;
  height: 170px;
  inset-block-end: -88px;
  inset-inline-end: -65px;
  border-radius: 50%;
  background: var(--card-glow, rgba(37, 99, 235, 0.14));
  filter: blur(2px);
}

.capability-card-blue { --card-glow: rgba(37, 99, 235, 0.17); }
.capability-card-cyan { --card-glow: rgba(8, 145, 178, 0.17); }
.capability-card-violet { --card-glow: rgba(124, 58, 237, 0.17); }
.capability-card-pink { --card-glow: rgba(219, 39, 119, 0.14); }

.capability-icon {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.capability-card h3 {
  max-width: 540px;
  margin: 22px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.capability-card p {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--muted);
}

.capability-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding-block: 0;
  padding-inline-end: 0;
}

.capability-card-wide img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: top;
  border-inline-start: 1px solid var(--line);
  box-shadow: -18px 0 42px rgba(37, 54, 87, 0.08);
}

.gallery-section { border-block: 1px solid var(--line); }

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr) minmax(180px, 0.42fr);
  align-items: stretch;
  gap: 18px;
}

.gallery-grid figure {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-solid);
  box-shadow: 0 18px 50px rgba(37, 54, 87, 0.10);
}

.gallery-grid img {
  width: 100%;
  flex: 1 1 auto;
  object-fit: cover;
  object-position: top;
}

.gallery-main img,
.gallery-toolbar img { min-height: 440px; }

.gallery-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.gallery-grid figcaption strong { font-size: 0.92rem; }
.gallery-grid figcaption span { color: var(--muted); font-size: 0.72rem; text-align: end; }

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.9fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.workflow-copy .section-index { margin-bottom: 28px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 34px;
}

.workflow-list li:last-child { padding-bottom: 0; }

.workflow-list li::before {
  position: absolute;
  content: "";
  inset-block-start: 54px;
  inset-block-end: 0;
  inset-inline-start: 26px;
  width: 1px;
  background: var(--line-strong);
}

.workflow-list li:last-child::before { display: none; }

.workflow-list > li > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 950;
}

.workflow-list div {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.workflow-list strong,
.workflow-list small { display: block; }
.workflow-list strong { font-size: 1rem; }
.workflow-list small { margin-top: 6px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

.comparison-section { padding-top: 40px; }
.comparison-section .section-heading { margin-bottom: 34px; }

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-grid article {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.comparison-grid .comparison-process {
  border-color: rgba(37, 99, 235, 0.26);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.06)), var(--surface);
}

.comparison-symbol { color: var(--primary); font-size: 1.4rem; font-weight: 900; letter-spacing: 0.05em; }
.comparison-grid h3 { margin: 24px 0 0; font-size: 1.6rem; letter-spacing: -0.035em; }
.comparison-grid p { margin: 12px 0 0; color: var(--muted); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 108px);
  border-top: 1px solid var(--line);
}

.faq-heading .section-index { margin-bottom: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 46px 25px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; content: "+"; inset-inline-end: 8px; color: var(--primary); font-size: 1.4rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 760px; margin: -4px 46px 24px 0; color: var(--muted); }

.languages-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.languages-section .section-index { margin-bottom: 24px; }
.locale-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.locale-cloud button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.locale-cloud button:hover,
.locale-cloud button.is-active { border-color: rgba(37, 99, 235, 0.30); background: var(--surface-soft); color: var(--primary); }
.locale-cloud img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; }
.locale-cloud span { font-size: 0.77rem; font-weight: 800; }

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.65fr);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  margin-top: 30px;
  padding: clamp(52px, 8vw, 100px) max(24px, calc((100vw - var(--max)) / 2));
  background: #0b1220;
  color: #f8fbff;
}

.final-cta::before {
  position: absolute;
  content: "";
  width: 520px;
  height: 520px;
  inset-block-start: -250px;
  inset-inline-start: -180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.34);
  filter: blur(40px);
}

.final-cta-copy { position: relative; z-index: 2; max-width: 680px; }
.final-cta .section-index { margin-bottom: 26px; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #93c5fd; }
.final-cta p { color: #b9c4d6; }
.button-light { margin-top: 30px; border-color: #fff; background: #fff; color: #101827; }
.final-cta > img { position: relative; z-index: 1; width: min(720px, 55vw); margin-inline-start: clamp(20px, 4vw, 70px); border-radius: 30px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42); transform: rotate(3deg); }

.showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px 42px; border-top: 1px solid var(--line); }
.footer-brand { gap: 9px; font-weight: 900; text-decoration: none; }
.footer-brand img { border-radius: 10px; }
.showcase-footer nav { flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.86rem; font-weight: 750; }
.showcase-footer nav a { text-decoration: none; }
.showcase-footer nav a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .editor-link:first-child { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div + div { border-inline-start: 0; }
  .proof-strip div:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .proof-strip div { border-top: 1px solid var(--line); }
  .proof-strip div:first-child, .proof-strip div:nth-child(2) { border-top: 0; }
  .capability-card-wide { grid-template-columns: 1fr; padding: 36px 36px 0; }
  .capability-card-wide img { max-height: 400px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-main { grid-column: 1 / -1; }
  .gallery-mobile img { max-height: 520px; }
  .workflow-section, .faq-section, .languages-section { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; gap: 46px; }
  .final-cta > img { width: min(720px, 90vw); margin-inline-start: 0; }
}

@media (max-width: 640px) {
  .header-inner, .section-shell, .showcase-footer, .proof-strip { width: min(calc(100% - 24px), var(--max)); }
  .header-inner { min-height: 66px; }
  .brand-name, .brand-mode, .editor-link { display: none; }
  .language-select-button { min-width: 0; max-width: 118px; }
  .hero { padding-block: 58px 72px; gap: 42px; }
  .hero h1 { font-size: clamp(2.55rem, 13.5vw, 4.1rem); }
  .button { width: 100%; }
  .floating-tag { display: none; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div, .proof-strip div:nth-child(even) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .proof-strip div:first-child { border-top: 0; }
  .section-heading, .section-heading-center { grid-template-columns: 1fr; justify-content: start; text-align: start; }
  .section-heading { margin-bottom: 30px; }
  .capability-grid, .comparison-grid, .gallery-grid { grid-template-columns: 1fr; }
  .capability-card-wide, .gallery-main { grid-column: auto; }
  .capability-card { min-height: 0; padding: 28px; }
  .capability-card-wide { padding: 28px 28px 0; }
  .gallery-main img, .gallery-toolbar img { min-height: 0; }
  .gallery-mobile img { max-height: 520px; }
  .workflow-section { grid-template-columns: 1fr; }
  .workflow-list li { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .workflow-list > li > span { width: 46px; height: 46px; border-radius: 15px; }
  .workflow-list li::before { inset-block-start: 46px; inset-inline-start: 22px; }
  .faq-list summary { padding-inline-end: 38px; }
  .faq-list p { margin-inline-end: 0; }
  .final-cta { padding-inline: 24px; }
  .final-cta > img { width: 100%; border-radius: 20px; }
  .showcase-footer { align-items: flex-start; flex-direction: column; }
}

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