@font-face {
  font-family: Inter;
  src: url("assets/inter-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/poppins-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f8fbff;
  --ink: #132339;
  --muted: #506074;
  --blue: #1f5ce2;
  --blue-hover: #1748bd;
  --line: #e3e7eb;
  --surface: #fff;
  --container: 1320px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, ol, ul { margin: 0; }
h1, h2, h3 { font-family: Poppins, Inter, system-ui, sans-serif; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.25vw, 3.6rem); line-height: 1.1; letter-spacing: -.061em; }
p { line-height: 1.65; color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 3px solid #2c6ee9; outline-offset: 5px; }
.container { width: min(calc(100% - clamp(38px, 9vw, 148px)), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 118px); }
.skip-link { position: fixed; z-index: 8; top: 12px; left: 12px; padding: 12px 18px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { background: var(--page); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 7px; width: fit-content; font-family: Poppins, Inter, sans-serif; font-size: 1.72rem; font-weight: 600; line-height: 1; letter-spacing: -.078em; white-space: nowrap; }
.brand span span { color: var(--blue); }
.brand img { border-radius: 9px; object-fit: contain; }
.desktop-nav, .footer nav { display: flex; align-items: center; gap: clamp(18px, 3.1vw, 40px); }
.desktop-nav a, .footer nav a { color: #37485f; font-size: .91rem; font-weight: 600; }
.desktop-nav a:hover, .footer nav a:hover, .header-contact:hover { color: var(--blue); }
.header-contact { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; font-weight: 600; }
.button { display: inline-flex; width: fit-content; min-height: 54px; align-items: center; justify-content: center; gap: 16px; padding: 13px 22px; border: 1px solid transparent; border-radius: 11px; background: var(--blue); color: white; font-weight: 600; line-height: 1.25; transition: background-color .18s, transform .18s; }
.button:hover { background: var(--blue-hover); transform: translateY(-2px); }
.button span { font-family: Inter, system-ui, sans-serif; font-size: 1.22rem; line-height: 1; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-areas: "panorama"; min-height: clamp(570px, 49vw, 720px); color: #fff; background: #0c2347; }
.hero-copy { grid-area: panorama; align-self: center; z-index: 1; padding-block: 46px 148px; pointer-events: none; }
.hero-copy .button { pointer-events: auto; min-height: 49px; padding: 10px 19px; border-radius: 100px; font-size: .875rem; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; color: #2657b7; font-size: .74rem; font-weight: 700; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow > span { flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero .eyebrow { color: #b6ceff; }
.hero h1 { font-family: Inter, system-ui, sans-serif; font-size: clamp(3.4rem, 8vw, 8rem); line-height: 1.02; letter-spacing: -.074em; font-weight: 700; }
.hero-intro { color: #f0f5ff; font-size: clamp(1rem, 1.35vw, 1.18rem); margin-top: 23px; max-width: 35ch; }
.hero-actions { margin-top: 29px; }
.hero :is(a, button):focus-visible { outline-color: #d0e0ff; }
.photo-carousel { grid-area: panorama; position: relative; display: grid; align-content: end; min-width: 0; padding-bottom: 24px; }
.photo-frame { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; user-select: none; -webkit-user-drag: none; }
.photo-frame img:not([src]) { visibility: hidden; }
.photo-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #031427ec, #04142899 45%, transparent 79%), linear-gradient(0deg, #071629ee, transparent 30%); }
.photo-caption { position: relative; border-top: 1px solid #ffffff60; padding-top: 10px; pointer-events: none; }
.photo-caption-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; }
.photo-place { color: #e2ecff; font-size: .67rem; line-height: 1.3; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.photo-title { color: #fff; margin-top: 3px; font-size: clamp(1.08rem, 2vw, 1.75rem); line-height: 1.16; font-weight: 700; letter-spacing: -.035em; }
.photo-controls { display: flex; flex: none; align-items: center; gap: 6px; pointer-events: auto; }
.photo-count { margin-right: 4px; font-size: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.photo-controls button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff75; border-radius: 50%; color: #fff; background: #0c2347ed; font: 1.25rem/1 Inter, system-ui, sans-serif; cursor: pointer; }
.photo-controls button:hover { background: var(--blue); }
.play-icon { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
[data-paused="true"] .play-icon { width: 0; height: 0; margin-left: 2px; border: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.photo-index { display: flex; gap: 4px; max-width: 250px; }
.photo-index button { flex: 1; min-width: 0; min-height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.photo-index button::after { content: ""; display: block; height: 3px; border-radius: 2px; background: #fff9; }
.photo-index button:is([aria-current="true"], :hover)::after { background: #fff; }
[hidden] { display: none !important; }

.explore { padding-top: clamp(41px, 5vw, 72px); background: var(--page); border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { font-family: Inter, system-ui, sans-serif; font-size: clamp(1.62rem, 4vw, 2.85rem); font-weight: 700; text-wrap: balance; }
.section-heading > p:last-child { max-width: 64ch; }
.section-heading > p:last-child, .contact h2 + p { margin-top: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.category { padding: 22px; border: 1px solid #e8ebef; border-radius: 17px; background: #fbfcfe; }
.category h3 { font-size: 1.28rem; letter-spacing: -.045em; margin: 15px 0 8px; }
.category p, .workflow p, .pro-features small { font-size: .94rem; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; }
.category-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.category-blue { color: #1c54ca; background: #e8efff; }
.category-violet { color: #5e46aa; background: #f0ebfd; }
.category-sand { color: #84520b; background: #f9efd9; }
.category-green { color: #176d60; background: #e1f2ed; }

.app-section { background: #eef3ff; }
.app-grid { display: grid; grid-template-columns: 1fr .86fr; gap: clamp(38px, 8vw, 105px); align-items: center; }
.app-visual { min-width: 0; min-height: 475px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; padding-bottom: 17px; }
.app-glow { position: absolute; z-index: -1; inset: 8% 2% 11%; border-radius: 45%; background: radial-gradient(ellipse at center, #a9c5fb, #cddfff 42%, transparent 72%); }
.device { width: clamp(130px, 16.5vw, 216px); border: 6px solid #172541; background: #fff; border-radius: 25px; overflow: hidden; box-shadow: 0 17px 35px #26365e33; flex-shrink: 0; }
.device img { width: 100%; height: auto; }
.device-main { z-index: 1; transform: rotate(-7deg) translateX(11px); }
.device-secondary { width: clamp(110px, 14vw, 180px); margin-left: -5px; transform: rotate(10deg) translateY(12px); }
.app-caption { position: absolute; bottom: -12px; font-size: .76rem; color: #506584; }
.workflow { margin-top: 26px; padding: 0; list-style: none; }
.workflow li { display: flex; align-items: flex-start; gap: 14px; padding-block: 16px; border-bottom: 1px solid #dbe5f8; }
.workflow li:last-child { border-bottom: 0; }
.workflow-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid #cfdbf3; border-radius: 11px; background: white; color: #2153ba; font-size: .77rem; font-weight: 700; }
.workflow h3 { font-size: 1.08rem; margin-bottom: 4px; }

.pro-section { padding-bottom: 0; }
.pro-panel { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(28px, 7vw, 90px); align-items: center; padding: clamp(28px, 5.5vw, 70px); border-radius: 25px; color: white; background: radial-gradient(ellipse at 100% 0, #254f9a, transparent 64%), #122747; }
.pro-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.pro-copy .eyebrow { color: #b4ceff; }
.pro-copy p:not(.eyebrow) { color: #d9e3f6; margin: 17px 0 24px; max-width: 47ch; }
.button-light { background: white; color: #184bba; }
.button-light:hover { background: #e9f0ff; }
.pro-features { padding: 0; list-style: none; }
.pro-features li { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid #ffffff35; }
.pro-features li:last-child { border-bottom: 0; }
.pro-features li > span { width: 29px; flex: 0 0 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #ffffff20; color: #dae7ff; }
.pro-features strong, .pro-features small { display: block; line-height: 1.55; }
.pro-features small { margin-top: 4px; color: #d9e3f6; }
.contact { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
.contact .button { flex-shrink: 0; }
.footer { border-top: 1px solid #e7e6e0; }
.footer-inner { min-height: 98px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 20px; padding-inline-end: max(44px, calc(env(safe-area-inset-right) + 24px)); }
.footer .brand { font-size: 1.5rem; }
.footer p { font-size: .87rem; }
.back-to-top {
  position: fixed;
  z-index: 4;
  inset-inline-end: max(clamp(16px, 2.5vw, 36px), calc(env(safe-area-inset-right) + 12px));
  inset-block-end: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ffffffa0;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 16px #12274736;
  font: 700 1.25rem/1 Inter, system-ui, sans-serif;
  transition: background-color .18s;
}
.back-to-top:hover { background: var(--blue-hover); }

@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-visual { min-height: 380px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 38px); }
  .header-inner { min-height: 57px; gap: 8px; }
  .header-inner .brand { font-size: 1.4rem; gap: 5px; }
  .header-inner .brand img { width: 30px; height: 30px; }
  .desktop-nav a:not(:first-child) { display: none; }
  .desktop-nav a, .header-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; }
  .app-grid, .pro-panel { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-copy { padding-block: 36px 156px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .hero-actions { margin-top: 21px; }
  .hero-intro { margin-top: 17px; }
  .photo-frame::after { background: linear-gradient(0deg, #031427f2, #041428a1 66%, #03142766); }
  .photo-count { display: none; }
  .photo-controls { gap: 3px; }
  .photo-index { max-width: 190px; }
  .app-copy { grid-row: 1; }
  .app-grid { gap: 15px; }
  .app-visual { min-height: 350px; }
  .device { width: min(39vw, 174px); border-radius: 18px; border-width: 5px; }
  .device-secondary { width: min(34vw, 153px); }
  .contact { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer nav { flex-wrap: wrap; }
}
@media (max-width: 410px) {
  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category { padding: 16px; display: grid; grid-template-columns: 42px 1fr; gap: 2px 14px; align-items: center; }
  .category-icon { grid-row: 1 / 3; width: 42px; height: 42px; align-self: start; }
  .category h3 { margin: 0; }
  .category p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
