/*--------------------------------------------------------------
# Homepage (index.html)
--------------------------------------------------------------*/
.home {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --brand: #0b74a4;
  --brand-hover: #095f87;
  --accent: #109ad4;
  --pale: #e8f4fb;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --navy: #0f172a;

  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  background: #fff;
}
:where(.home) h1, :where(.home) h2, :where(.home) h3, :where(.home) h4 { color: var(--ink); margin: 0; }
:where(.home) p { margin: 0; }

.home .container { max-width: 1180px; }
.home-sec { padding: 88px 0; overflow: visible; }
.home-sec.soft { background: var(--soft); }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sec-sub { margin-top: 12px; font-size: 18px; color: var(--muted); }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--pale);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* Buttons */
.btn-solid,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-solid { background: var(--brand); color: #fff; border: 1.5px solid var(--brand); }
.btn-solid:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-solid:focus-visible,
.btn-line:focus-visible,
.home a:focus-visible,
.home button:focus-visible,
.home summary:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

.text-link {
  color: var(--brand);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--brand-hover); }

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.card-plain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  height: 100%;
}

/* ===== 2 · HERO ===== */
.home .hero {
  padding: 72px 0 88px;
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.hero .hero-title {
  margin-top: 20px !important;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero .hero-title span { display: block; }
.hero .hero-title .accent { color: var(--accent); }
.home .hero p.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text);
  max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .hero-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.hero-facts span { font-size: 13px; color: var(--muted); }

.showcase-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-tab {
  padding: 7px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.showcase-tab:hover { border-color: var(--brand); }
.showcase-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.showcase-pause {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
.showcase-pause:hover { border-color: var(--brand); color: var(--brand); }
.showcase-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f1f7fb;
  aspect-ratio: 16 / 9;
}
.showcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero .showcase-caption { margin-top: 12px !important; font-size: 14px; color: var(--muted); }
.showcase-panel .btn-solid { margin-top: 16px; }

/* ===== 3 · TRY ===== */
.try-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.try-card { display: flex; flex-direction: column; align-items: flex-start; }
.try-card .icon { margin: 16px 0 14px; border-radius: 9px; }
.try-name { font-size: 22px; font-weight: 700; }
.try-tagline { margin-top: 8px !important; font-size: 19px; font-weight: 600; color: var(--brand); }
.try-text { margin-top: 10px !important; font-size: 15px; color: var(--text); }
.try-meta { margin-top: auto; padding-top: 18px; }
.try-meta .pill { font-size: 12px; }
.try-card .btn-solid { width: 100%; margin-top: 14px; }
.try-card .text-link { align-self: center; margin-top: 14px; font-size: 14px; }

/* ===== 4 · LIFECYCLE ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; }
.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  position: relative;
  z-index: 1;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50px;
  right: -12px;
  height: 2px;
  background: var(--line);
}
.step-num { margin-top: 14px !important; font-size: 12px; color: var(--muted); }
.step-title { font-size: 18px; font-weight: 700; }
.step-time { font-size: 13px; font-weight: 600; color: var(--brand); }
.step-text { margin-top: 6px !important; font-size: 14px; color: var(--text); }
.step details { margin-top: 10px; font-size: 13px; }
.step summary {
  display: inline;
  cursor: pointer;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}
.step summary::-webkit-details-marker { display: none; }
.step details[open] summary { color: var(--brand); }
.step details p { margin-top: 8px !important; color: var(--muted); }
.steps-more { text-align: center; margin-top: 48px; }

/* ===== 5 · TRUST ===== */
.home-sec.trust { padding: 40px 0 44px; }
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.trust-line i { color: var(--brand); font-size: 20px; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.trust-badges li {
  width: 150px;
  height: 72px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-badges img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== 6 · AI CAPS, 7 · INDUSTRIES, 8 · PLATFORM ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.cap-text { margin-top: 10px !important; font-size: 15px; color: var(--muted); }

.ind-card { padding: 22px 24px; }
.ind-card .icon-box { margin-bottom: 14px; }
.ind-title { font-size: 16px; font-weight: 700; }
.ind-text { margin-top: 4px !important; font-size: 14px; color: var(--text); }

.plat-card { display: block; color: inherit; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.plat-card:hover { color: inherit; border-color: #bae0f3; box-shadow: 0 6px 20px rgba(11, 116, 164, 0.08); }
.plat-code { font-size: 18px; font-weight: 700; color: var(--ink); }
.plat-name { font-size: 13px; color: var(--muted); }
.plat-stat { margin-top: 16px !important; font-size: 15px; color: var(--text); }

/* ===== 9 · TRANSLATION ===== */
.trans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trans-title { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
.trans-text { margin-top: 14px !important; font-size: 17px; color: var(--text); max-width: 520px; }
.orbit {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  background: linear-gradient(135deg, #e6f3fb 0%, #f4f9fd 55%, #fff 100%);
  overflow: hidden;
}
.orbit-ring,
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring { border: 1.5px solid #c4e3f3; }
.orbit-ring.r1 { height: 92%; }
.orbit-ring.r2 { height: 66%; }
.orbit-ring.r3 { height: 44%; background: rgba(255, 255, 255, 0.5); }
.orbit-core {
  height: 30%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(26px, 3vw, 40px);
}
.orbit-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 4px 12px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.orbit-chip.more { background: var(--navy); color: #fff; }
.trans-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 0;
}
.trans-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
}
.trans-stats dt { font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.trans-stats dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ===== 10 · TESTIMONIALS (unchanged) ===== */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.test-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; }
.test-stars { color: #f59e0b; font-size: 13px; margin-bottom: 14px; }
.test-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px !important;
  border-left: 3px solid #bfdbfe;
  padding-left: 14px;
}
.test-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.test-role { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.clients-title { font-size: 22px; font-weight: 700; color: var(--ink); text-align: center; margin: 56px 0 28px; }
.clients-logos {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  align-items: center;
}
.clients-logos img { height: 36px; opacity: 0.65; object-fit: contain; filter: grayscale(20%); transition: opacity 0.2s; }
.clients-logos img:hover { opacity: 1; }

/* ===== 11 · VIDEO ===== */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.video-wrap { border-radius: 14px; overflow: hidden; background: var(--navy); box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12); }
.video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.video-label { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 10px !important; }
.video-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.25; }
.video-sub { margin-top: 12px !important; font-size: 16px; color: var(--muted); }
.video-points { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.vp { display: flex; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.vp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.vp-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.vp-text { font-size: 13px; color: var(--muted); }

/* ===== 12 · FINAL CTA ===== */
.final-cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 10% 50%, transparent 0 79px, rgba(56, 189, 248, 0.22) 80px 81px, transparent 82px 159px, rgba(56, 189, 248, 0.16) 160px 161px, transparent 162px 249px, rgba(56, 189, 248, 0.1) 250px 251px, transparent 252px),
    radial-gradient(circle at 90% 50%, transparent 0 79px, rgba(56, 189, 248, 0.22) 80px 81px, transparent 82px 159px, rgba(56, 189, 248, 0.16) 160px 161px, transparent 162px 249px, rgba(56, 189, 248, 0.1) 250px 251px, transparent 252px),
    var(--navy);
}
.final-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.01em; }
.final-cta p { margin: 16px auto 0; max-width: 640px; font-size: 17px; color: rgba(255, 255, 255, 0.8); }
.final-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.final-btns .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.final-btns .btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }
.final-btns .btn-solid { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.final-btns .btn-solid:hover { background: #38b6ea; border-color: #38b6ea; color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3n)::after { display: none; }
}
@media (max-width: 991px) {
  .home-sec { padding: 64px 0; }
  .home .hero { padding: 48px 0 64px; }
  .hero-grid,
  .trans-grid,
  .video-grid { grid-template-columns: 1fr; gap: 40px; }
  .try-grid,
  .grid-3,
  .test-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .try-grid,
  .grid-3,
  .test-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .hero-ctas a { flex: 1 1 100%; }
  .final-btns a { flex: 1 1 100%; }
  .final-cta { padding: 64px 0; }
  .trust-badges li { width: calc(50% - 7px); }
  .orbit-chip { font-size: 10px; padding: 3px 8px; }
  .trans-stats dt { font-size: 20px; }
  .showcase-tab { padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .home * { transition: none !important; }
}
