.hero { position: relative; height: min(768px, 53.333vw); min-height: 560px; overflow: hidden; background: #041b3e; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner { position: relative; z-index: 1; width: min(1200px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; }
.hero-copy { margin-top: -26px; width: 510px; color: white; }
.hero-copy h1 { margin: 0 0 28px; font-size: clamp(44px, 3.35vw, 64px); line-height: 1.42; letter-spacing: .02em; }
.hero-copy p { margin: 0 0 34px; font-size: 20px; line-height: 1.75; color: rgba(255,255,255,.82); }
.hero-button { padding: 14px 24px; color: white; background: var(--blue); border: 0; font-size: 17px; }
.hero-button img { width: 20px; height: 20px; }

.advantages { position: relative; height: 260px; background: #fff; }
.advantages-card { position: relative; z-index: 3; top: -73px; padding: 40px 0; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.advantages-card h2 { margin: 0 32px 40px; text-align: center; font-size: 32px; line-height: 1.4; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.advantage-item { position: relative; min-width: 0; min-height: 108px; padding: 0 48px 0 16px; display: flex; align-items: center; gap: 16px; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
.advantage-item:hover { background: #f7f9fe; transform: translateY(-2px); }
.advantage-item + .advantage-item { border-left: 1px solid #edf1f7; }
.advantage-art { width: 100px; height: 100px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.advantage-copy { flex: 1; min-width: 0; min-height: 108px; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; }
.advantage-item h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.advantage-item:first-child h3 { white-space: nowrap; }
.advantage-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.small-arrow { position: absolute; right: 16px; width: 16px; height: 16px; }
.data-section { padding: 64px 0; background: var(--section); }
.data-banner { display: block; width: 100%; height: auto; aspect-ratio: 3/1; margin: 40px 0; border-radius: var(--radius); background: #f2f5fe; box-shadow: 0 1px 0 rgba(17,24,39,.04); }
.custom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.custom-card { text-align: center; padding-bottom: 20px; overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(18,48,92,.04); }
.custom-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.custom-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.custom-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) and (pointer: fine) {
  .custom-card-image:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .custom-card-image img { transition: none; }
}
.custom-card .custom-icon { width: 40px; height: 40px; margin: 22px auto 10px; }
.custom-card h3 { margin: 0; font-size: 18px; }

.ecosystem-section { padding: 64px 0; background: #fff; }
.ecosystem-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ecosystem-card { min-height: 168px; display: flex; align-items: center; gap: 0; overflow: hidden; border: 1px solid #e5eaf3; border-radius: 8px; color: inherit; text-decoration: none; background: #fff; box-shadow: 0 0 8px #e5eaf3; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ecosystem-card:hover { border-color: #cfdbef; box-shadow: 0 6px 18px rgba(28, 67, 126, .12); transform: translateY(-2px); }
.ecosystem-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ecosystem-grid img { width: 136px; height: 136px; flex: 0 0 auto; border-radius: 16px; object-fit: cover; }
.ecosystem-grid h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.ecosystem-grid strong { display: block; margin: 2px 0 12px; color: var(--blue); font-size: 14px; }
.ecosystem-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.integration-section { padding: 64px 0; background: var(--section); }
.integration-flow { margin-top: 40px; display: grid; grid-template-columns: minmax(0,444px) 40px 168px 40px minmax(0,444px); gap: 16px; align-items: center; }
.system-panel { padding: 16px; border: 1px solid #cddfff; border-radius: var(--radius); background: #fff; box-shadow: 0 0 4px #e5eaf3; }
.third-panel { border-color: #d4eceb; }
.system-panel > h3 { width: fit-content; margin: 0 auto 16px; padding: 8px 40px; border-radius: 8px; color: var(--blue); background: rgba(18,107,255,.08); font-size: 20px; }
.third-panel > h3 { color: var(--green); background: rgba(51,177,172,.08); }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.system-grid article { min-width: 0; height: 146px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.system-grid img { width: 56px; height: 56px; object-fit: contain; }
.system-grid strong { margin-top: 4px; font-size: 14px; }
.system-grid span { margin-top: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.panel-note { margin: 16px 0 0; min-height: 38px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 8px; color: var(--blue); background: rgba(18,107,255,.08); font-size: 13px; white-space: nowrap; }
.third-panel .panel-note { color: var(--green); background: rgba(51,177,172,.08); }
.panel-note img { width: 20px; height: 20px; }
.flow-arrow { width: 40px; height: 40px; }
.api-hub { width: 168px; height: 168px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 12px solid rgba(255,255,255,.8); border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 8px 24px rgba(18,107,255,.2); }
.api-hub img { width: 48px; height: 48px; }
.api-hub strong { font-size: 20px; line-height: 1.8; white-space: nowrap; }
.api-hub span { opacity: .8; font-size: 14px; }

.cases-section { padding: 64px 0; background: var(--section-blue); }
.case-carousel { position: relative; margin-top: 40px; padding-bottom: 24px; }
.case-stage { height: var(--case-height, 358px); overflow: hidden; border-radius: var(--radius); background: white; transition: height .26s cubic-bezier(.22,.61,.36,1); }
.case-track { width: 100%; height: 100%; display: grid; grid-template-columns: 502px 1fr; will-change: transform, opacity; }
.case-copy { padding: 64px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.case-brand { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.home-case-logo { position: relative; flex: 0 0 auto; overflow: hidden; }
.home-case-logo img { position: absolute; display: block; max-width: none; }
.home-case-logo-vifa img,
.home-case-logo-zbom img,
.home-case-logo-nature img,
.home-case-logo-rosedale img,
.home-case-logo-modern img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-brand span { padding: 0 8px; border: 1px solid var(--blue); border-radius: 44px; color: var(--blue); font-size: 16px; line-height: 1.8; }
.case-copy blockquote { margin: 24px 0 40px; color: var(--muted); font-size: 14px; line-height: 1.8; white-space: pre-line; }
.case-copy .primary-button { font-size: 14px; }
.case-copy .primary-button img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.case-image { position: relative; overflow: hidden; }
.case-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 50%); pointer-events: none; }
.case-image img { position: absolute; display: block; max-width: none; }
.case-image img.home-case-image-vifa,
.case-image img.home-case-image-modern { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.case-image img.home-case-image-vifa { width: 717px; }
.case-image img.home-case-image-zbom { top: 0; left: -97.76%; width: 197.74%; height: 100%; }
.case-image img.home-case-image-nature { top: -.01%; left: -38.46%; width: 138.43%; height: 129.06%; }
.case-image img.home-case-image-rosedale { top: -14.06%; left: -9.33%; width: 125.92%; height: 114.01%; }
.carousel-arrow { position: absolute; z-index: 3; top: 147px; width: 64px; height: 64px; padding: 20px; border: 0; border-radius: 50%; background: white; box-shadow: var(--shadow); }
.carousel-arrow img { width: 24px; height: 24px; }
.carousel-arrow.prev { left: -32px; }
.carousel-arrow.next { right: -32px; }
.carousel-arrow.next img { transform: rotate(180deg); }
.carousel-dots { height: 8px; margin-top: 8px; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 12px; background: #d9d9d9; }
.carousel-dots button.active { width: 12px; background: var(--blue); }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.logo-wall img { width: 100%; aspect-ratio: 232/88; object-fit: contain; border-radius: 2px; }
.logo-wall-note { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 16px; line-height: 1.4; }

.home-reading { padding: 64px 0; background: #fff; }
.home-reading-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; margin-top: 40px; }
.home-reading-grid > section { min-width: 0; }
.home-reading-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.home-reading-heading h3 { margin: 0; font-size: 20px; line-height: 1.5; }
.home-reading-heading > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--blue); font-size: 14px; }
.home-reading ul { margin: 0; padding: 0; list-style: none; }
.home-reading li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.home-reading time { display: block; margin: 4px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.home-reading-link { display: flex; align-items: center; min-height: 44px; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.home-reading a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.home-reading a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 900px) {
  .home-reading-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .home-reading { padding: 48px 0; }
  .home-reading-grid { margin-top: 28px; }
  .home-reading-link { font-size: 16px; }
}
