:root {
  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --green-50: #ECFDF5;
  --green-100: #D1FAE5;
  --green-300: #6EE7B7;
  --green-500: #10B981;
  --green-600: #059669;
  --green-700: #047857;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #FFFFFF;
  --shadow-md: 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.08);
  --shadow-orange: 0 12px 32px rgba(249,115,22,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-dot {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  border-radius: 8px;
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 12px;
  box-shadow: var(--shadow-orange);
}
.brand small { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-left: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--gray-700); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--orange-600); }
.lang-switch { display: flex; gap: 4px; padding: 4px; background: var(--gray-100); border-radius: 999px; }
.lang-switch button {
  border: 0; background: transparent; padding: 4px 12px; font-size: 13px; font-weight: 600;
  color: var(--gray-500); cursor: pointer; border-radius: 999px;
  font-family: inherit;
}
.lang-switch button.active { background: white; color: var(--orange-600); box-shadow: var(--shadow-md); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white; box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(249,115,22,.28); }
.btn-ghost { background: transparent; color: var(--gray-900); border: 1.5px solid var(--gray-300); }
.btn-ghost:hover { border-color: var(--orange-500); color: var(--orange-600); }

/* SubNav (其他平台) */
.subnav {
  background: linear-gradient(90deg, var(--orange-50), var(--green-50));
  border-bottom: 1px solid var(--gray-200);
}
.subnav-inner {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  height: 40px; font-size: 13px; flex-wrap: wrap;
}
.subnav-label { color: var(--gray-500); font-weight: 600; letter-spacing: 1px; }
.subnav a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gray-700); font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  transition: all .15s; background: rgba(255,255,255,.6);
}
.subnav a:hover { color: var(--orange-700); background: white; transform: translateY(-1px); }
.subnav a .ico-em { font-size: 16px; }

@media (max-width: 820px) {
  .nav-links a:not(.btn):not(.lang-switch *) { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; padding: 100px 0 80px; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, var(--orange-50) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 80%, var(--green-50) 0%, transparent 50%),
    var(--white);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--orange-50);
  border: 1px solid var(--orange-200); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--orange-700); margin-bottom: 24px;
}
.pill-dot {
  width: 8px; height: 8px; background: var(--orange-500); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(249,115,22,.18);
}
h1 {
  font-size: clamp(34px, 5vw, 56px); font-weight: 800;
  line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--green-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--gray-500); margin-bottom: 36px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 540px; }
.stat-num {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 560px; margin: 0 auto; }
.hv-card {
  position: absolute; background: white; border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--gray-100);
}
.hv-card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; }
.hv-card .ttl { font-weight: 700; font-size: 15px; }
.hv-card .sub { font-size: 13px; color: var(--gray-500); }
/* All 4 cards pinned to the 4 corners — leaves a clean central area for the iBos circle */
.hv-1 { top: 0;    left: -8%;  width: 230px; animation: float 6s ease-in-out infinite; }
.hv-1 .ico { background: var(--orange-50); color: var(--orange-600); }
.hv-2 { top: 0;    right: -8%; width: 230px; animation: float 7s ease-in-out infinite reverse; }
.hv-2 .ico { background: var(--green-50); color: var(--green-600); }
.hv-3 { bottom: 0; left: -8%;  width: 230px; animation: float 8s ease-in-out infinite; }
.hv-3 .ico { background: linear-gradient(135deg, var(--orange-100), var(--green-100)); color: var(--orange-700); }
.hv-4 { bottom: 0; right: -8%; width: 230px; animation: float 6.5s ease-in-out infinite reverse; }
.hv-4 .ico { background: var(--green-50); color: var(--green-700); }
.hv-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  border-radius: 50%; display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 24px;
  line-height: 1.1; text-align: center;
  box-shadow: 0 24px 48px rgba(249,115,22,.32), 0 24px 48px rgba(16,185,129,.18);
  animation: pulse 4s ease-in-out infinite;
}
.hv-core small { display: block; font-weight: 500; letter-spacing: 1.8px; }
.hv-core-mid { font-size: 11px; margin-top: 6px; opacity: .96; }
.hv-core-bot { font-size: 11px; margin-top: 2px; opacity: .9; }
/* Tablet/mobile: shrink cards but keep them at corners */
@media (max-width: 1000px) {
  .hv-1, .hv-2, .hv-3, .hv-4 { width: 200px; }
  .hv-1 { left: -4%; } .hv-2 { right: -4%; }
  .hv-3 { left: -4%; } .hv-4 { right: -4%; }
}
@media (max-width: 560px) {
  .hv-1, .hv-2, .hv-3, .hv-4 { width: 160px; padding: 14px; }
  .hv-card .ico { width: 36px; height: 36px; font-size: 18px; }
  .hv-card .ttl { font-size: 13px; }
  .hv-card .sub { font-size: 11px; }
  .hv-core { width: 140px; height: 140px; font-size: 20px; }
  .hv-core-mid, .hv-core-bot { font-size: 9px; letter-spacing: 1.2px; }
}
/* Very small phones: 4 floating cards crowd the centre — hide and keep just the iBos circle */
@media (max-width: 460px) {
  .hv-1, .hv-2, .hv-3, .hv-4 { display: none; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 24px 48px rgba(249,115,22,.32), 0 24px 48px rgba(16,185,129,.18); }
  50% { box-shadow: 0 32px 64px rgba(249,115,22,.42), 0 32px 64px rgba(16,185,129,.26); }
}

/* ===== Floating Logo Marquee ===== */
.logos { padding: 40px 0 16px; text-align: center; overflow: hidden; }
.logos-label { font-size: 13px; color: var(--gray-500); letter-spacing: 2px; margin-bottom: 28px; }
.logo-marquee {
  position: relative;
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  overflow: hidden;
}
.logo-track {
  display: flex; gap: 24px; width: max-content;
  animation: marquee 40s linear infinite;
  padding: 12px 0;
}
.logo-track.reverse { animation: marquee-reverse 50s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  flex-shrink: 0;
  height: 64px; padding: 0 22px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-weight: 700; font-size: 15px;
  color: var(--gray-700);
  animation: float-soft 4s ease-in-out infinite;
  transition: transform .15s;
}
.logo-chip:nth-child(2n) { animation-delay: -1.5s; }
.logo-chip:nth-child(3n) { animation-delay: -3s; }
.logo-chip:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--orange-400);
  color: var(--orange-700);
}
.logo-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== Section base ===== */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange-600); text-transform: uppercase; margin-bottom: 16px;
}
.sec-tag.green { color: var(--green-600); }
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
  margin-bottom: 16px;
  /* Avoid orphans like "來。" on its own line — balance redistributes evenly */
  text-wrap: balance;
}
h1 { text-wrap: balance; }
.sec-sub { font-size: 17px; color: var(--gray-500); text-wrap: pretty; }

/* ===== Pain ===== */
.pain { background: var(--gray-50); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: white; border-radius: 20px; padding: 32px;
  border: 1px solid var(--gray-200); transition: all .25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-200); }
.pain-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--orange-50); display: grid; place-items: center;
  color: var(--orange-600); font-size: 24px; margin-bottom: 20px;
}
.pain-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.pain-card p { color: var(--gray-500); font-size: 15px; }

/* ===== Lifecycle ===== */
.lifecycle-track { position: relative; margin-top: 40px; }
.lc-line {
  position: absolute; top: 38px; left: 4%; right: 4%; height: 4px;
  background: linear-gradient(90deg, var(--orange-200), var(--green-300));
  border-radius: 2px; z-index: 0;
}
.lc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; z-index: 1; }
@media (max-width: 1000px) {
  .lc-grid { grid-template-columns: repeat(3, 1fr); }
  .lc-line { display: none; }
}
@media (max-width: 560px) { .lc-grid { grid-template-columns: repeat(2, 1fr); } }
.lc-step {
  background: white; padding: 20px 14px; border-radius: 16px;
  text-align: center; border: 1px solid var(--gray-200); transition: all .2s;
}
.lc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lc-num {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: white; border: 3px solid var(--orange-400);
  display: grid; place-items: center;
  font-weight: 800; color: var(--orange-600); font-size: 18px;
}
.lc-step:nth-child(2) .lc-num { border-color: #FBBF24; color: #B45309; }
.lc-step:nth-child(3) .lc-num { border-color: #84CC16; color: #4D7C0F; }
.lc-step:nth-child(4) .lc-num { border-color: var(--green-300); color: var(--green-600); }
.lc-step:nth-child(5) .lc-num { border-color: var(--green-500); color: var(--green-700); }
.lc-step:nth-child(6) .lc-num { border-color: var(--green-600); color: var(--green-700); }
.lc-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lc-step p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ===== Platform ===== */
.platform { background: var(--gray-50); position: relative; overflow: hidden; }
.platform-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
@media (max-width: 920px) { .platform-grid { grid-template-columns: 1fr; } }
.platform h2 { text-align: left; }
.platform .sec-head { text-align: left; margin: 0 0 32px; }
.feat-list { display: flex; flex-direction: column; gap: 16px; }
.feat-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; background: white; border-radius: 14px;
  border: 1px solid var(--gray-200);
}
.feat-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-50); color: var(--green-700);
  display: grid; place-items: center; font-size: 20px;
}
.feat-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feat-item p { font-size: 14px; color: var(--gray-500); }

.ibos-diagram {
  background: white; border-radius: 24px; padding: 32px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.layer {
  padding: 14px 18px; border-radius: 12px; margin-bottom: 10px;
  font-size: 14px; display: flex; align-items: center; justify-content: space-between;
  transition: transform .15s;
}
.layer:hover { transform: translateX(4px); }
.layer-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; letter-spacing: 0.5px; }
.l-app { background: linear-gradient(90deg, var(--orange-100), var(--orange-50)); color: var(--orange-700); font-weight: 600; }
.l-app .layer-tag { background: var(--orange-500); color: white; }
.l-ai { background: linear-gradient(90deg, #FEF3C7, #FFFBEB); color: #92400E; font-weight: 600; }
.l-ai .layer-tag { background: #F59E0B; color: white; }
.l-core { background: linear-gradient(90deg, var(--green-100), var(--green-50)); color: var(--green-700); font-weight: 600; }
.l-core .layer-tag { background: var(--green-500); color: white; }
.l-conn { background: linear-gradient(90deg, #DBEAFE, #EFF6FF); color: #1E40AF; font-weight: 600; }
.l-conn .layer-tag { background: #3B82F6; color: white; }
.l-edge { background: var(--gray-100); color: var(--gray-700); font-weight: 600; }
.l-edge .layer-tag { background: var(--gray-500); color: white; }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products-grid { grid-template-columns: 1fr; } }
.prod-card {
  background: white; border-radius: 20px; padding: 28px;
  border: 1px solid var(--gray-200); transition: all .25s;
  position: relative; overflow: hidden;
}
.prod-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--green-500));
  opacity: 0; transition: opacity .25s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card:hover::before { opacity: 1; }
.prod-num { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gray-300); margin-bottom: 16px; }
.prod-ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.ic-orange { background: linear-gradient(135deg, var(--orange-100), var(--orange-50)); color: var(--orange-600); }
.ic-green  { background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-600); }
.ic-mix    { background: linear-gradient(135deg, var(--orange-100), var(--green-100)); color: var(--orange-700); }
.prod-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.prod-card .badge {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-700); font-weight: 600; margin-bottom: 10px;
}
.prod-card .badge.green { background: var(--green-50); color: var(--green-700); }
.prod-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.prod-card ul { list-style: none; margin: 0; padding: 0; }
.prod-card li {
  font-size: 13px; color: var(--gray-700);
  padding: 4px 0 4px 22px; position: relative;
}
.prod-card li::before {
  content: '✓'; position: absolute; left: 0; top: 4px;
  color: var(--green-500); font-weight: 800;
}

/* ===== Cases ===== */
.cases { background: linear-gradient(180deg, var(--gray-50), white); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: white; border-radius: 20px; padding: 32px;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; transition: all .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-head {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px dashed var(--gray-200);
}
.case-logo {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  color: white; font-weight: 800; font-size: 14px; line-height: 1.1; letter-spacing: 1px;
  flex-shrink: 0; text-align: center;
}
.case-title { font-size: 18px; font-weight: 800; }
.case-sub { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.case-quote { font-size: 15px; color: var(--gray-700); margin-bottom: 20px; flex-grow: 1; }
.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--gray-100);
}
.case-metric { text-align: center; }
.case-metric strong { display: block; font-size: 22px; font-weight: 800; color: var(--orange-600); }
.case-metric:nth-child(2) strong { color: var(--green-600); }
.case-metric:nth-child(3) strong {
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.case-metric span { font-size: 12px; color: var(--gray-500); }

/* ===== SubProducts ===== */
.subprod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .subprod-grid { grid-template-columns: 1fr; } }
.sp-card {
  background: white; border-radius: 20px; padding: 32px;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 14px;
  transition: all .25s; position: relative; overflow: hidden;
}
.sp-card::after {
  content: '→'; position: absolute; top: 24px; right: 24px;
  font-size: 22px; color: var(--gray-300); transition: all .2s;
}
.sp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange-400); }
.sp-card:hover::after { color: var(--orange-600); right: 18px; }
.sp-ico {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center; font-size: 30px;
}
.sp-card h3 { font-size: 20px; font-weight: 800; }
.sp-card p { font-size: 14px; color: var(--gray-500); flex-grow: 1; }
.sp-link { font-size: 13px; font-weight: 700; color: var(--orange-600); letter-spacing: 1px; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 920px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 28px 20px; text-align: center; border-radius: 16px;
  background: var(--white); border: 1px solid var(--gray-200);
}
.why-num {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--orange-500), var(--green-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.why-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--gray-500); }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(249,115,22,.16), transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(16,185,129,.16), transparent 50%),
    var(--gray-900);
  color: white; border-radius: 28px;
  margin: 60px auto; padding: 72px 48px;
  max-width: 1100px; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: white; max-width: 720px; margin: 0 auto 16px; }
.cta p { font-size: 17px; color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 32px; }
.cta .btn-primary { padding: 14px 28px; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost {
  color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05);
}
.cta .btn-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }

/* ===== Footer ===== */
footer { padding: 48px 0 32px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 32px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { font-size: 14px; color: var(--gray-500); padding: 4px 0; cursor: pointer; transition: color .15s; }
.footer-grid li:hover { color: var(--orange-600); }
.footer-brand p { color: var(--gray-500); font-size: 14px; margin-top: 12px; max-width: 260px; }
.copyright {
  border-top: 1px solid var(--gray-200); padding-top: 24px;
  text-align: center; font-size: 13px; color: var(--gray-500);
}

/* fade-in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in { opacity: 1; transform: translateY(0); }

/* ===== Hero background image (optional) ===== */
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .12; z-index: 0; pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

/* ===== Modal: Demo Booking ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(17,24,39,.55);
  display: grid; place-items: center;
  padding: 16px;
  animation: fadeIn .2s ease;
}
.modal-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: white;
  border-radius: 20px;
  width: min(640px, 100%);
  max-height: 92vh; overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: var(--gray-100); border: 0;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer;
  color: var(--gray-500); transition: all .15s;
  font-family: inherit;
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-900); }
.modal-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; padding-right: 36px; }
.modal-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 22px; }
.modal-form .modal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.modal-form .modal-grid label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
}
.modal-form .modal-grid label.span2 { grid-column: 1 / -1; }
.modal-form .modal-grid input,
.modal-form .modal-grid select,
.modal-form .modal-grid textarea {
  padding: 9px 12px; border: 1.5px solid var(--gray-200);
  border-radius: 10px; outline: none; font-size: 14px;
  font-family: inherit; font-weight: 400;
  background: white;
}
.modal-form .modal-grid input:focus,
.modal-form .modal-grid select:focus,
.modal-form .modal-grid textarea:focus { border-color: var(--orange-500); }
.modal-form textarea { resize: vertical; min-height: 70px; }
.modal-form .req { color: var(--orange-600); margin-left: 2px; }
.modal-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 22px;
}
.form-msg {
  font-size: 13px; text-align: center; margin-top: 12px;
  min-height: 1.4em;
}
.form-msg.ok { color: var(--green-600); font-weight: 700; }
.form-msg.err { color: #DC2626; font-weight: 700; }
.modal-form.sending button { opacity: .6; pointer-events: none; }
@media (max-width: 560px) { .modal-form .modal-grid { grid-template-columns: 1fr; } }
