@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3f6fb;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --panel-soft: #eef4fb;
  --ink: #0a1325;
  --muted: #58677c;
  --line: rgba(11, 24, 44, 0.08);
  --accent: #0f6fd8;
  --accent-deep: #0b4ea6;
  --accent-soft: rgba(15, 111, 216, 0.12);
  --shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.07);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(15, 111, 216, 0.14), transparent 24%),
    radial-gradient(circle at left top, rgba(15, 111, 216, 0.08), transparent 18%),
    linear-gradient(180deg, #f3f6fb 0%, #eff4fa 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page {
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page::before {
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(15, 111, 216, 0.16) 0%, rgba(15, 111, 216, 0) 70%);
}

.page::after {
  left: -160px;
  top: 520px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15, 111, 216, 0.08) 0%, rgba(15, 111, 216, 0) 72%);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 18px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a.active {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-color: rgba(15, 111, 216, 0.18);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 216, 0.34);
  box-shadow: 0 12px 26px rgba(15, 111, 216, 0.16);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0b4ea6 0%, #0f6fd8 100%);
  border-color: #0f6fd8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 28px 0 84px;
}

.hero-copy {
  max-width: 760px;
}

.hero-top-visual {
  min-width: 0;
}

.hero-top-card {
  padding: 18px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(245,249,255,0.94));
  box-shadow: var(--shadow);
}

.hero-top-card .shot {
  min-height: 320px;
  object-fit: contain;
  object-position: center center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 64ch;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-bottom: 18px;
}

.hero-meta .chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: start;
  grid-column: 1 / -1;
}

.panel,
.card,
.step,
.cta,
.snapshot,
.mini-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(245,249,255,0.94));
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--panel-soft);
  border: 1px solid rgba(11, 24, 44, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd8e6;
}

.window-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.shot {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(11, 24, 44, 0.08);
  background: #f7f9fc;
  cursor: zoom-in;
}

.hero-main {
  display: grid;
  gap: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid rgba(11, 24, 44, 0.06);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mini-panel {
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.mini-panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.mini-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(11, 24, 44, 0.05);
  border-bottom: 1px solid rgba(11, 24, 44, 0.05);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 24px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.7;
}

.card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.snapshot {
  padding: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.94));
}

.snapshot h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.snapshot p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.snapshot-main { grid-column: span 8; }
.snapshot-side { grid-column: span 4; }
.snapshot-wide { grid-column: span 7; }
.snapshot-small { grid-column: span 5; }

.snapshot .shot {
  height: 280px;
  object-fit: contain;
  object-position: center center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.feature-item {
  padding-top: 20px;
  border-top: 1px solid rgba(11, 24, 44, 0.08);
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 24px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cta {
  padding: 34px;
  background: linear-gradient(135deg, #0b4ea6 0%, #0f6fd8 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(11, 78, 166, 0.24);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.cta p {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.footer {
  padding: 30px 0 58px;
  color: var(--muted);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1600px);
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  background: #f7f9fc;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a1325;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.lightbox-caption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .grid-3,
  .grid-2,
  .feature-list,
  .workflow {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snapshot-main,
  .snapshot-side,
  .snapshot-wide,
  .snapshot-small {
    grid-column: span 1;
  }

  .snapshot .shot {
    height: 240px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 20px 0 58px;
  }

  .hero h1 {
    max-width: none;
    font-size: 32px;
  }

  .hero-stats,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .snapshot .shot,
  .hero-top-card .shot {
    height: auto;
    min-height: 0;
  }

  .section {
    padding: 58px 0;
  }

  .panel,
  .card,
  .step,
  .cta,
  .snapshot,
  .mini-panel {
    padding: 18px;
  }
}
