@import url("https://fonts.googleapis.com/css2?family=Iansui&family=Inter:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap");


:root {
  --ink: #13203b;
  --ink-soft: #40516d;
  --muted: #72809a;
  --paper: #f6f8fc;
  --white: #ffffff;
  --mist: #e9f0fb;
  --brand: #abc1ee;
  --brand-strong: #6f8fc8;
  --navy: #10172e;
  --navy-2: #182642;
  --warm: #f1a66a;
  --line: rgba(24, 38, 66, 0.11);
  --shadow: 0 24px 80px rgba(21, 35, 61, 0.12);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-sans: "Noto Sans TC", "Inter", "Microsoft JhengHei", sans-serif;
  --font-latin: "Inter", "Noto Sans TC", sans-serif;
  --font-hand: "Iansui", "Noto Sans TC", sans-serif;
  --font-heading: "Noto Sans TC", "Inter", "Microsoft JhengHei", sans-serif;
}

/* 大標題 */
.hero-copy h2,
.display-title,
.brand-video-text h2,
.download-copy h2,
.section-heading {
  font-family: "Noto Sans TC", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}

/* 中型標題 */
.story-card h3,
.capability-card h3,
.cooperation-form h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  margin-bottom: 18px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--brand-strong);
}

.light-label {
  color: #c9d7f7;
}

.display-title {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-lead {
  max-width: 740px;
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-strong);
}

.light-link {
  color: #f0f4ff;
}

/* =========================
   NAVIGATION
========================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 82px;
  padding: 0 max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 248, 252, 0.82);
  border-bottom: 1px solid rgba(19, 32, 59, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-area .logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.brand-title h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
}

.brand-title span {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navbar nav > a,
.navbar nav > .nav-item > a {
  margin: 0;
  padding: 8px 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #253553;
  transition: color .2s ease;
}

.navbar nav a:hover {
  color: var(--brand-strong);
}

.navbar nav .has-submenu {
  position: relative;
}

.submenu-toggle {
  display: none;
}

.navbar nav .submenu {
  position: absolute;
  top: calc 100%;
  left: -18px;
  min-width: 160px;
  padding: 8px;
  display: none;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(18,31,52,.12);
}

.navbar nav .submenu a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.navbar nav .submenu a:hover {
  background: #f1f5fc;
}

.navbar nav .has-submenu:hover .submenu,
.navbar nav .has-submenu:focus-within .submenu {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.86);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: .2s ease;
}

.nav-toggle span + span {
  margin-top: 6px;
}

/* =========================
   HERO
========================= */
.hero-modern {
  position: relative;
  min-height: 100svh;
  padding: 130px max(24px, 5vw) 70px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(244,247,252,.98) 48%, rgba(228,236,249,.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr);
  gap: 72px;
  align-items: center;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-app-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.hero-eyebrow {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--brand-strong);
}

.hero-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero-copy h2 span {
  color: var(--brand-strong);
}

.hero-desc {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
}

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

.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.primary-cta {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16,23,46,.2);
}

.secondary-cta {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  color: var(--ink);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-3px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.hero-trust span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 600;
  color: #59677e;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(500px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171,193,238,.55), rgba(171,193,238,0) 70%);
  filter: blur(4px);
}

.hero-phone {
  position: absolute;
  width: clamp(190px, 18vw, 238px);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(18,31,55,.23);
  border: 7px solid #14203b;
  background: #fff;
}

.hero-phone-back {
  transform: translate(-32%, 5%) rotate(-7deg) scale(.9);
  opacity: .9;
  z-index: 1;
}

.hero-phone-main {
  transform: translate(28%, -3%) rotate(4deg);
  z-index: 2;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 205px;
  padding: 15px 17px;
  border-radius: 18px;
  background: rgba(255,255,255,.87);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 48px rgba(29,43,68,.16);
  backdrop-filter: blur(14px);
}

.floating-card small,
.floating-card span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.floating-card strong {
  display: block;
  margin: 4px 0 2px;
  font-size: 15px;
}

.floating-card-top {
  top: 13%;
  right: 1%;
}

.floating-card-bottom {
  left: 0;
  bottom: 15%;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(103,132,184,.17);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
}

.orbit-two {
  width: 590px;
  height: 590px;
}

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

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: 4%;
  right: 3%;
  background: #abc1ee;
}

.hero-glow-b {
  width: 320px;
  height: 320px;
  left: -8%;
  bottom: 2%;
  background: #f0b886;
  opacity: .16;
}

.hero-scroll {
  position: absolute;
  left: max(24px, 5vw);
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--muted);
}

.hero-scroll i {
  width: 44px;
  height: 1px;
  background: #9aa6ba;
}

/* =========================
   STORY
========================= */
.story-section {
  padding: 120px 0;
  background: #fff;
}

.story-inner {
  text-align: center;
}

.story-flow {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1.18fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.story-card {
  position: relative;
  min-height: 280px;
  padding: 34px 28px;
  text-align: left;
  border-radius: var(--radius-lg);
  background: #f7f9fd;
  border: 1px solid var(--line);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.story-card-highlight {
  background: var(--navy);
  color: #fff;

  /* 不再預設浮起 */
  transform: none;
  box-shadow: none;
}

/* 滑到哪張，哪張浮起 */
.story-card:hover {
  transform: translateY(-12px);
  border-color: rgba(111, 143, 200, .28);
  box-shadow: 0 24px 55px rgba(34, 52, 82, .12);
}

/* 深色 02 可以給稍微明顯一點的陰影 */
.story-card-highlight:hover {
  box-shadow: 0 30px 80px rgba(16, 23, 46, .18);
}

.story-number {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-strong);
}

.story-card-highlight .story-number {
  color: #c9d6f5;
}

.story-kicker {
  margin: 34px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.story-card-highlight .story-kicker {
  color: #bfc9db;
}

.story-card > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.story-card.story-card-highlight > p:last-child {
  color: #d7e1f2;
}

.story-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.45;
}

.flow-arrow {
  font-family: var(--font-latin);
  color: #a3adc0;
  font-size: 24px;
}

/* =========================
   AI SECTION
========================= */
.ai-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(171,193,238,.17), transparent 28%),
    var(--navy);
  color: #fff;
}

.ai-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.ai-copy p {
  max-width: 520px;
  margin-top: 26px;
  color: #bdc7d9;
  font-size: 17px;
}

.light-title {
  color: #fff;
}

.ai-demo-card {
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 90px rgba(0,0,0,.17);
}

.ai-input-box {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
}

.demo-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2fc;
  color: #6780b4;
  font-size: 11px;
  font-weight: 800;
}

.ai-input-box p {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.8;
}

.typing-line {
  display: flex;
  gap: 5px;
}

.typing-line span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9cafcf;
}

.ai-transform {
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ai-transform span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--warm);
  color: #1b2234;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 900;
}

.ai-transform i {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.26);
}

.structured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.structured-card {
  padding: 17px 18px;
  border-radius: 17px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.09);
}

.structured-card span,
.structured-card strong {
  display: block;
}

.structured-card span {
  font-size: 11px;
  color: #9eacc3;
}

.structured-card strong {
  margin-top: 6px;
  font-size: 14px;
}

/* =========================
   PATTERN
========================= */
.pattern-section {
  padding: 120px 0;
  background: #f1f4f9;
}

.pattern-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 76px;
  align-items: center;
}

.pattern-copy p {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 17px;
}

.pattern-visual {
  padding: 28px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.mini-timeline > div {
  min-height: 132px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background: #f6f8fc;
  border: 1px solid var(--line);
}

.mini-timeline span {
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
}

.mini-timeline b {
  margin-top: auto;
  font-size: 12px;
}

.mini-timeline em {
  margin-top: 5px;
  font-style: normal;
  font-size: 11px;
  color: var(--brand-strong);
}

.pattern-summary {
  margin-top: 16px;
  padding: 20px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}

.pattern-summary ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.pattern-summary li {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pattern-summary li:last-child {
  border-bottom: 0;
}

.pattern-summary li span {
  color: #bdc7d9;
  font-size: 12px;
}

.pattern-summary li strong {
  font-size: 12px;
  text-align: right;
}

/* =========================
   CAPABILITIES
========================= */
.capability-section {
  padding: 120px 0;
  background: #fff;
}

.capability-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.capability-heading .display-title {
  max-width: 800px;
}

.capability-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  min-height: 370px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #f7f9fd;
  border: 1px solid var(--line);

  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.capability-card-featured {
  background: linear-gradient(150deg, #e7eefb, #f6f8fc);

  /* 取消固定浮起 */
  transform: none;
}

/* 滑到哪張，哪張浮起 */
.capability-card:hover {
  transform: translateY(-12px);
  border-color: rgba(111, 143, 200, .28);
  box-shadow: 0 24px 55px rgba(34, 52, 82, .12);
}

.capability-index {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-strong);
}

.capability-en {
  margin: 46px 0 7px;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--muted);
}

.capability-card h3 {
  margin: 0 0 16px;
  font-size: 26px;
}

.capability-card > p:not(.capability-en) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.capability-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.capability-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

/* =========================
   VIDEO
========================= */
.brand-video-section {
  padding: 110px 24px;
  background: #edf1f7;
}

.brand-video-container {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 58px;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(109,139,195,.12);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
}

.brand-video-text h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.brand-video-text p {
  color: var(--ink-soft);
}

.brand-video-card {
  padding: 10px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  object-fit: cover;
  background: #dae3f1;
}

/* =========================
   DOWNLOAD
========================= */
.download-section {
  padding: 34px 0 110px;
  background: #edf1f7;
}

.download-panel {
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: center;
  border-radius: 36px;
  background: linear-gradient(135deg, #131c35, #223458);
  color: #fff;
}

.download-copy h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.28;
  letter-spacing: -.04em;
}

.download-copy p {
  margin: 15px 0 0;
  color: #b9c6dc;
}

.download-options {
  display: flex;
  gap: 14px;
}

.download-option {
  min-width: 176px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

.download-option img {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  background: #fff;
}

.download-option span,
.download-option a {
  display: block;
}

.download-option span {
  font-size: 11px;
  color: #aebbd1;
}

.download-option a {
  margin-top: 3px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   CONTACT — backend/form contract preserved
========================= */
#contact-us {
  scroll-margin-top: 100px;
}

.contact-section {
  width: min(1100px, calc(100% - 48px));
  margin: 90px auto 0;
  padding: 58px 48px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.section-heading {
  margin: 0 auto 18px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.contact-section > p {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--ink-soft);
}

.contact-list {
  margin-top: 16px;
}

.contact-list p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.cooperation-form {
  width: min(760px, 100%);
  margin: 32px auto 0;
  padding: 28px;
  text-align: left;
  border-radius: 22px;
  background: #f7f9fd;
  border: 1px solid var(--line);
}

.cooperation-form h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.form-help {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.cooperation-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #35445e;
  font-size: 13px;
  font-weight: 700;
}

.cooperation-form input,
.cooperation-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(36,54,84,.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.cooperation-form input:focus,
.cooperation-form textarea:focus {
  outline: 0;
  border-color: var(--brand-strong);
  box-shadow: 0 0 0 3px rgba(111,143,200,.13);
}

.form-honey {
  display: none;
}

.full-width {
  margin-top: 14px;
}

.submit-btn {
  margin-top: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.submit-btn:hover {
  background: #1a2747;
}

.submit-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.form-note {
  min-height: 24px;
  margin-top: 12px;
  font-size: 13px;
}

.form-note.success {
  color: #397489;
}

.form-note.error {
  color: #ad3b3b;
}

footer {
  margin-top: 90px;
  padding: 36px 24px;
  text-align: center;
  background: var(--navy);
  color: #afbbcf;
  font-size: 12px;
}

/* Preserve existing lightbox behavior if legacy feature pages/images are later restored */
.zoomable-image { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,20,45,.88);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: 20px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .hero-copy h2 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.2;
  }

  .hero-copy h2 {
    font-size: clamp(42px, 6.4vw, 66px);
  }

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

  .orbit-two {
    width: 480px;
    height: 480px;
  }

  .story-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .story-card,
  .story-card-highlight {
    min-height: 0;
    transform: none;
  }

  .ai-grid,
  .pattern-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .pattern-copy {
    order: -1;
  }

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

  .capability-card,
  .capability-card-featured {
    min-height: 260px;
    transform: none;
  }

  .brand-video-container {
    grid-template-columns: 1fr;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE / RWD
========================= */
@media (max-width: 430px) {
  .hero-copy h2 {
    font-size: 32px;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .navbar {
    height: auto;
    min-height: 72px;
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .logo-area .logo {
    width: 46px;
    height: 46px;
  }

  .brand-title h1 {
    font-size: 20px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .navbar.is-open {
    max-height: 100dvh;
    overflow-y: auto;
  }

  .navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar nav {
    display: none;
    width: 100%;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 10px 0 4px;
  }

  .navbar.is-open nav {
    display: flex;
  }

  .navbar nav > a,
  .navbar nav > .nav-item > a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: #eef2f8;
    font-size: 14px;
  }

  .navbar nav .has-submenu {
    position: static;
    display: grid;
    grid-template-columns: 1fr 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #eef2f8;
  }

  .navbar nav .has-submenu > a {
    padding: 10px 12px;
    background: transparent;
  }

  .navbar nav .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid var(--line);
    background: rgba(255,255,255,.5);
    color: var(--ink);
    cursor: pointer;
  }

  .navbar nav .has-submenu:hover .submenu,
  .navbar nav .has-submenu:focus-within .submenu {
    display: none;
  }

  .navbar nav .submenu {
    position: static;
    grid-column: 1 / -1;
    margin: 0;
    padding: 6px 8px 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .navbar nav .has-submenu.submenu-open .submenu {
    display: block;
  }

  .navbar nav .has-submenu.submenu-open .submenu-toggle {
    transform: rotate(180deg);
  }

  .navbar nav .submenu a {
    margin-top: 5px;
    background: #fff;
  }

  .hero-modern {
    min-height: auto;
    padding: 110px 16px 56px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-brand-row {
    margin-bottom: 18px;
  }

  .hero-app-logo {
    width: 50px;
    height: 50px;
  }

  .hero-eyebrow {
    font-size: 9px;
  }

  .hero-copy h2 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1.17;
  }

  .hero-desc {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .hero-trust {
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 430px;
    margin-top: 8px;
  }

  .hero-phone {
    width: min(42vw, 178px);
    border-width: 5px;
    border-radius: 23px;
  }

  .hero-phone-back {
    transform: translate(-30%, 5%) rotate(-6deg) scale(.92);
  }

  .hero-phone-main {
    transform: translate(27%, -3%) rotate(4deg);
  }

  .floating-card {
    width: 160px;
    padding: 11px 12px;
  }

  .floating-card-top {
    top: 7%;
    right: 0;
  }

  .floating-card-bottom {
    left: 0;
    bottom: 7%;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 400px;
    height: 400px;
  }

  .hero-scroll {
    display: none;
  }

  .story-section,
  .ai-section,
  .pattern-section,
  .capability-section,
  .brand-video-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .display-title {
    font-size: clamp(31px, 9vw, 44px);
  }

  .section-lead,
  .ai-copy p,
  .pattern-copy p {
    font-size: 15px;
  }

  .story-flow {
    margin-top: 42px;
    gap: 12px;
  }

  .story-card {
    padding: 25px 22px;
  }

  .story-kicker {
    margin-top: 26px;
  }

  .ai-demo-card {
    padding: 16px;
    border-radius: 26px;
  }

  .ai-input-box {
    padding: 18px;
  }

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

  .pattern-visual {
    padding: 18px;
    overflow-x: auto;
  }

  .mini-timeline {
    min-width: 520px;
  }

  .capability-heading {
    display: block;
  }

  .capability-grid {
    margin-top: 38px;
  }

  .capability-card {
    min-height: 300px;
    padding: 25px 22px;
  }

  .brand-video-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-video-container {
    gap: 32px;
  }

  .brand-video-text h2 {
    font-size: 32px;
  }

  .download-section {
    padding: 18px 0 76px;
  }

  .download-panel {
    width: calc(100% - 32px);
    padding: 30px 22px;
    gap: 30px;
    border-radius: 28px;
  }

  .download-options {
    flex-direction: column;
  }

  .download-option {
    width: 100%;
  }

  .contact-section {
    width: calc(100% - 32px);
    margin-top: 70px;
    padding: 34px 18px;
    border-radius: 24px;
  }

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

  .cooperation-form {
    padding: 20px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: 78vh;
  }
}

@media (max-width: 430px) {
  .hero-copy h2 {
    font-size: 37px;
  }

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

  .hero-phone {
    width: 154px;
  }

  .floating-card {
    width: 145px;
  }

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

  .floating-card span {
    font-size: 10px;
  }

  .download-copy h2 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
