/* ============================================
   SEO / GEO FREE TRIAL — LANDING PAGE
   Layout follows firstpage.hk structure, but every
   UI component (type, spacing, radius, shadow, button
   & card shapes, animation timing) inherits from the
   main Unique Logic site (styles.css).

   COLOUR SCHEME: the ORIGINAL Unique Logic palette
   (cyan / amber / purple accents) — the only change is
   that the near-black backgrounds become a light / white
   theme. Scoped to .lp-body so nothing else is affected.
   ============================================ */

/* Landing-page essentials. This page no longer needs the much larger
   site-wide styles.css file. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  background: none;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Dark theme (matches the MAIN Unique Logic site palette) ----------
   Backgrounds now use the main site's neutral near-black family (#0c0c0f …)
   with cyan / amber / purple accents and soft dark gradients.
   Previous palettes are preserved as stylesheets you can swap the <link> to:
     • seo-geo-free-trial-light.css        ("淺色版")
     • seo-geo-free-trial-不太靚的深.css   (the earlier navy dark version) */
.lp-body {
  --bg-primary: #0c0c0f;
  --bg-secondary: #121216;
  --bg-tertiary: #1a1a1f;
  --bg-card: #101014;

  /* Brand accents (unchanged) */
  --accent-cyan: #00d4e8;
  --accent-amber: #f5a623;
  --accent-purple: #a855f7;
  --accent-cyan-dim: rgba(0, 212, 232, 0.12);
  --accent-amber-dim: rgba(245, 166, 35, 0.12);
  --accent-purple-dim: rgba(168, 85, 247, 0.12);

  /* Brighter accent TEXT tints so small labels stay legible on dark navy. */
  --lp-cyan-text: #3fdcee;
  --lp-purple-text: #c79bff;

  --text-primary: #ffffff;
  --text-secondary: #a8a8b3;
  --text-muted: #6b6b76;

  --border-color: #2a2a32;
  --border-glow: rgba(0, 212, 232, 0.3);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* wave gradient stops — bright brand hues */
  --lp-wave-a: #00d4e8;
  --lp-wave-b: #a855f7;
  --lp-wave-c: #f5a623;

  /* Soft dark gradient backdrop: faint cyan + purple glows over near-black. */
  background:
    radial-gradient(1200px 720px at 82% -6%, rgba(0, 212, 232, 0.10), transparent 60%),
    radial-gradient(1040px 700px at 8% 4%, rgba(168, 85, 247, 0.10), transparent 62%),
    linear-gradient(180deg, #0e0e13 0%, var(--bg-primary) 46%);
  color: var(--text-primary);
}

/* Restore a normal cursor (styles.css hides it for the main site's
   custom script-driven cursor, which we do not load here). */
body,
a,
button,
input,
textarea,
select,
[role="button"] {
  cursor: auto;
}

/* The wordmark SVG is white artwork — on the dark theme it shows as-is (white). */
.lp-logo,
.lp-footer-logo {
  filter: none;
}

/* Primary button keeps the original cyan gradient; only the text colour is
   set back to dark so it stays readable (the shape / padding are unchanged). */
.lp-body .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #00b8c8 100%);
  font-size: 1rem;
  font-weight: 600;
  color: #06222a;
  transition: var(--transition-base);
}

.lp-body .btn-primary:hover {
  background: linear-gradient(135deg, #00e5ff 0%, #00d4ff 100%);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

.lp-body .lang-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 50px;
  background: var(--bg-tertiary);
}

.lp-body .lang-btn {
  padding: 6px 12px;
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.lp-body .lang-btn.active {
  background: var(--accent-cyan);
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.section-title {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ---------- Top bar (logo left, language switcher right — matches 圖1) ---------- */
.lp-topbar {
  position: relative;
  z-index: 20;
  padding: 20px 0;
  /* Solid, visibly distinct top bar using the main site's dark palette. */
  border-bottom: 1px solid rgba(0, 212, 232, 0.14);
  background: #111111;
  backdrop-filter: blur(16px);
}

/* Landing and thank-you pages share the same cyan→purple accent glow. */
.lp-home .lp-topbar,
.lp-thank-you .lp-topbar {
  background:
    linear-gradient(90deg,
      rgba(168, 85, 247, 0.16) 0%,
      rgba(0, 212, 232, 0.16) 100%),
    var(--bg-primary);
}

.lp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-topbar .lp-logo {
  height: 30px;
  width: auto;
}

/* Reuse the main site's .lang-toggle / .lang-btn (from styles.css). Only
   nudge the active pill's text colour so it stays legible on the light theme. */
.lp-body .lang-btn.active {
  color: var(--bg-primary);
}

/* ============================================
   HERO
   ============================================ */
.lp-hero {
  position: relative;
  overflow: visible;
  padding: 84px 0 96px;
  min-height: 640px;
  z-index: 1;
}

.lp-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

/* ---------- Technology Wave — free-floating background layer ----------
   MULTIPLE twisting arcs (blue monochrome). Each arc has a dim base line plus
   a bright "flowing light" segment that travels along it (right→left,
   top→bottom). Ambient blue glow + blue particles. The whole scene is rotated
   ~-38deg and lives behind the content (z-index: 0). */
.lp-tech-wave {
  position: absolute;
  top: -12%;
  left: -18%;
  width: 136%;
  height: 128%;
  transform: rotate(-38deg) scale(1.12);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}

.lp-wave-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  will-change: transform;
}

/* light-blue glow near the main (bottom-right) arc */
.lp-wave-glow-1 {
  width: 50%;
  height: 50%;
  bottom: 6%;
  right: 8%;
  background: radial-gradient(circle, #64C8FF, transparent 68%);
  animation: lpGlowDrift 13s ease-in-out infinite;
}

/* cool azure glow near the secondary (top-left) cluster — a clearly visible
   tech bloom (no longer green, and no longer the near-white tint that made it
   disappear on the light background). */
.lp-wave-glow-2 {
  width: 38%;
  height: 38%;
  top: 8%;
  left: 10%;
  background: radial-gradient(circle, #8EA7FF, transparent 68%);
  animation: lpGlowDrift 16s ease-in-out infinite reverse;
}

.lp-wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Each arc = a dim base line + a bright travelling "flowing light" segment.
   Blue monochrome only. Soft blue glow around the whole scene. */
.lp-arc path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* The wave tracks stay fixed. Only the bright segment inside each line moves
   leftward along the path, like a light beam being carried through the line. */

.lp-arc-base {
  filter: drop-shadow(0 0 5px rgba(80, 180, 255, 0.3));
  animation: lpArcTechPulse 7.5s ease-in-out infinite;
}

/* The flowing light: a brighter light-blue dash that travels along the curve.
   The longer gap and off-path start/end make each pulse emerge, exit, then wait
   20% longer before the next bright segment appears. */
.lp-arc-flow {
  stroke: #F6FEFF;
  stroke-width: 4.4;
  stroke-dasharray: 90 1536;
  stroke-dashoffset: 120;
  filter: drop-shadow(0 0 9px rgba(0, 224, 255, 0.85));
  animation: lpFlow 3.84s linear infinite;
}

@keyframes lpFlow {
  from {
    stroke-dashoffset: 120;
  }

  to {
    stroke-dashoffset: -1746;
  }
}

@keyframes lpArcTechPulse {

  0%,
  100% {
    opacity: 0.62;
  }

  45% {
    opacity: 0.92;
  }
}

/* Stagger the flow so the arcs don't pulse in unison */
.lp-arc-b1 .lp-arc-base {
  animation-duration: 8.4s;
  animation-delay: 0s;
}

.lp-arc-b2 .lp-arc-base {
  animation-duration: 7.2s;
  animation-delay: 1.2s;
}

.lp-arc-b3 .lp-arc-base {
  animation-duration: 8.8s;
  animation-delay: 2.1s;
}

.lp-arc-b4 .lp-arc-base {
  animation-duration: 7.8s;
  animation-delay: 0.7s;
}

.lp-arc-t1 .lp-arc-base {
  animation-duration: 8.1s;
  animation-delay: 1.7s;
}

.lp-arc-t2 .lp-arc-base {
  animation-duration: 7.4s;
  animation-delay: 2.8s;
}

.lp-arc-b1 .lp-arc-flow {
  animation-duration: 4.1s;
  animation-delay: 0s;
}

.lp-arc-b2 .lp-arc-flow {
  animation-duration: 3.5s;
  animation-delay: 0.7s;
}

.lp-arc-b3 .lp-arc-flow {
  animation-duration: 4.3s;
  animation-delay: 1.3s;
}

.lp-arc-b4 .lp-arc-flow {
  animation-duration: 3.7s;
  animation-delay: 0.4s;
  stroke-width: 3.4;
}

.lp-arc-t1 .lp-arc-flow {
  animation-duration: 3.8s;
  animation-delay: 1.0s;
  stroke-width: 3.4;
}

.lp-arc-t2 .lp-arc-flow {
  animation-duration: 3.4s;
  animation-delay: 1.8s;
  stroke-width: 3.2;
}

@keyframes lpGlowDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(5%, -5%) scale(1.14);
    opacity: 0.6;
  }
}

/* Glowing particles floating around the wave — blue tones only */
.lp-particles {
  position: absolute;
  inset: 0;
}

.lp-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64C8FF;
  box-shadow: 0 0 10px 2px #64C8FF;
  opacity: 0.8;
  animation: lpFloat 9s ease-in-out infinite;
}

.lp-particle:nth-child(1) {
  top: 20%;
  left: 12%;
}

.lp-particle:nth-child(2) {
  top: 62%;
  left: 24%;
  background: #3296FF;
  box-shadow: 0 0 10px 2px #3296FF;
  animation-delay: 1.2s;
}

.lp-particle:nth-child(3) {
  top: 38%;
  left: 40%;
  animation-delay: 2.1s;
}

.lp-particle:nth-child(4) {
  top: 74%;
  left: 52%;
  background: #00DCFF;
  box-shadow: 0 0 10px 2px #00DCFF;
  animation-delay: 0.6s;
}

.lp-particle:nth-child(5) {
  top: 28%;
  left: 64%;
  background: #3296FF;
  box-shadow: 0 0 10px 2px #3296FF;
  animation-delay: 3s;
}

.lp-particle:nth-child(6) {
  top: 55%;
  left: 78%;
  animation-delay: 1.8s;
}

.lp-particle:nth-child(7) {
  top: 16%;
  left: 86%;
  background: #00DCFF;
  box-shadow: 0 0 10px 2px #00DCFF;
  animation-delay: 2.6s;
}

.lp-particle:nth-child(8) {
  top: 82%;
  left: 34%;
  animation-delay: 4.1s;
}

.lp-particle:nth-child(9) {
  top: 46%;
  left: 8%;
  background: #3296FF;
  box-shadow: 0 0 10px 2px #3296FF;
  animation-delay: 0.3s;
}

.lp-particle:nth-child(10) {
  top: 68%;
  left: 92%;
  animation-delay: 3.6s;
}

.lp-particle:nth-child(11) {
  top: 34%;
  left: 22%;
  background: #B4EBFF;
  box-shadow: 0 0 10px 2px #B4EBFF;
  animation-delay: 5s;
}

.lp-particle:nth-child(12) {
  top: 58%;
  left: 58%;
  animation-delay: 2.4s;
}

@keyframes lpFloat {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.35;
  }

  50% {
    transform: translate(0, -18px);
    opacity: 0.9;
  }
}

/* Performance-first mode: keep the artwork visible but stop continuous
   full-screen SVG/filter animation on every device, including Windows PCs. */
.lp-arc-base,
.lp-arc-flow,
.lp-wave-glow,
.lp-particle {
  animation: none;
}

/* ---------- Hero content (above the wave) ---------- */
.lp-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Soft light veil directly behind the headline / form so text stays crisp
   over the wave, without hiding the animation at the edges. */
.lp-hero-content::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 50%;
  width: 760px;
  max-width: 96%;
  height: 78%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(12, 12, 15, 0.86), rgba(12, 12, 15, 0) 72%);
  z-index: -1;
  pointer-events: none;
}

.lp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 212, 232, 0.3);
  border-radius: 50px;
  margin-bottom: 28px;
}

.lp-hero-tag .tag-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.lp-hero-tag span:last-child {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--lp-cyan-text);
}

.lp-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.lp-hero-title .accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-fineprint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.lp-lead-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 620px;
  margin: 0 auto;
}

.lp-lead-input {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 18px rgba(10, 10, 14, 0.05);
  transition: var(--transition-base);
}

.lp-lead-input::placeholder {
  color: var(--text-muted);
}

.lp-lead-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.lp-lead-form .btn-primary {
  flex: 0 0 auto;
  justify-content: center;
}

/* ---------- Certification / partner badges inside the hero ---------- */
.lp-hero-badges {
  width: 100%;
  max-width: 836px;
  margin: 66px auto 0;
  position: relative;
  z-index: 10;
}

.lp-logos-heading {
  position: relative;
  z-index: 12;
  display: table;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--lp-cyan-text);
  text-transform: uppercase;
  margin: 0 auto 26px;
  padding: 4px 14px;
  background: rgba(18, 18, 22, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.lp-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

/* On wide screens (single 6-across row) enlarge the credential cards ~1.4x so
   the logos read bigger and more premium. Overridden below 900px. */
@media (min-width: 901px) {
  .lp-logos {
    gap: 24px;
  }

  .lp-logo-item {
    height: 120px;
    padding: 14px;
  }
}

/* Widest screens: the 6 logos form a single row. Stretch the whole strip
   wider (~1.4x, mainly width) so each card reads larger and more premium. */
@media (min-width: 1101px) {
  .lp-hero-badges {
    max-width: 1180px;
  }

  .lp-logos {
    gap: 26px;
  }

  .lp-logo-item {
    height: 132px;
    padding: 16px;
  }
}

/* Authority / certification seals — dark "glass" cards that sit close to the
   navy background but stay clearly defined by a luminous cyan-tinted border.
   Each logo rests on a subtle light well so the full-colour (and dark-text)
   badge logos remain crisp and legible against the dark card. */
.lp-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(125, 211, 230, 0.22);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  transition: var(--transition-base);
}

.lp-logo-item img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 8px 12px;
  border-radius: 9px;
  background: linear-gradient(180deg, #f6f9fc 0%, #e8eef6 100%);
  filter: none;
  opacity: 1;
  transition: var(--transition-base);
}

.lp-logo-item>span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: linear-gradient(180deg, #f6f9fc 0%, #e8eef6 100%);
  color: #172033;
  font-family: var(--font-heading);
  font-size: clamp(0.68rem, 1.2vw, 0.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* Subtle lift + brighter border on hover. */
.lp-logo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 230, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.6);
}

/* ============================================
   SECTIONS
   ============================================ */
.lp-section {
  padding: 88px 0;
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

/* Chromium（Android / Windows）可先略過首屏以下的版面與繪製工作，
   滾動接近內容時才渲染，減少首次載入的 CPU / GPU 負擔。 */
.lp-body>.lp-section,
.lp-body>.lp-cta-band,
.lp-body>.lp-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.lp-section-alt {
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}

.lp-hero+.lp-section-alt {
  padding-top: 52px;
}

.lp-subhead {
  margin-top: 72px;
}

/* ---------- Moving bar (client marquee) ---------- */
.clients-wrapper {
  width: 100%;
  margin: -16px 0;
  padding: 16px 0;
  overflow: hidden;
}

.clients-grid {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marqueeRight 45s linear infinite;
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.client-logo {
  display: flex;
  flex: 0 0 126px;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lp-marquee {
  margin: 8px 0 0;
}

.lp-marquee .clients-label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

/* Scrolling CLIENT logos — intentionally different from the certification
   seals above: plain flat white chips with muted greyscale logos that colour
   in on hover (no cyan ring / glow), so this reads as a light "trusted-by"
   logo strip rather than authority badges. */
.lp-body .client-logo {
  background: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.lp-body .client-logo img {
  filter: none;
  opacity: 1;
  transition: var(--transition-base);
}

.lp-body .client-logo:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

/* ---------- Advantage cards (SEO / GEO) ---------- */
.lp-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-adv-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(10, 10, 14, 0.05);
  transition: var(--transition-base);
}

.lp-adv-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 44px rgba(10, 10, 14, 0.1);
}

.lp-adv-index {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--lp-cyan-text);
  margin-bottom: 16px;
}

.lp-adv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.lp-adv-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.lp-adv-card--geo .lp-adv-index {
  color: var(--lp-purple-text);
}

.lp-adv-card--geo:hover {
  border-color: rgba(168, 85, 247, 0.45);
}

/* ---------- Results / stats ---------- */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.lp-stat {
  padding: 24px 12px;
}

.lp-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-stat-plus {
  -webkit-text-fill-color: transparent;
}

.lp-stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ---------- Bottom CTA band ---------- */
.lp-cta-band {
  padding: 64px 0;
  background: linear-gradient(120deg, var(--accent-cyan) 0%, var(--accent-purple) 56%, #ffae2e 100%);
}

.lp-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.lp-cta-band-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.lp-cta-band-copy p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Dark button on the bright band for maximum contrast (colour-only change) */
.lp-body .lp-cta-band-btn.btn-primary {
  background: #0c1020;
  color: #ffffff;
  flex: 0 0 auto;
}

.lp-body .lp-cta-band-btn.btn-primary:hover {
  background: #1b2236;
  box-shadow: 0 12px 32px rgba(10, 10, 14, 0.35);
}

/* ---------- Bottom "why it matters" ---------- */
.lp-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.lp-why-block {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(10, 10, 14, 0.05);
}

.lp-why-block h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.lp-why-block .lp-why-kicker {
  color: var(--lp-cyan-text);
}

.lp-why-block--geo .lp-why-kicker {
  color: var(--lp-purple-text);
}

.lp-why-block p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ---------- Limited offer panel below SEO/GEO explanation ---------- */
.lp-offer-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  padding: clamp(36px, 6vw, 64px);
  background:
    radial-gradient(circle at 82% 18%, rgba(100, 200, 255, 0.20), transparent 32%),
    radial-gradient(circle at 14% 80%, rgba(47, 224, 176, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(18, 18, 22, 0.98), rgba(26, 26, 31, 0.92));
  border: 1px solid var(--border-color);
  border-radius: calc(var(--radius-lg) + 8px);
  box-shadow: 0 22px 70px rgba(10, 10, 14, 0.10);
}

.lp-offer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 35%, transparent 100%);
  pointer-events: none;
}

.lp-offer-copy,
.lp-offer-visual {
  position: relative;
  z-index: 1;
}

.lp-offer-copy .section-tag {
  display: inline-block;
  margin-bottom: 18px;
}

.lp-offer-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 18px;
}

.lp-offer-copy h2 span {
  color: #5bc7ff;
}

.lp-offer-copy p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.lp-offer-copy small {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
}

.lp-offer-btn {
  display: inline-flex;
}

.lp-offer-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.lp-offer-ticket {
  position: relative;
  z-index: 2;
  width: min(430px, 84vw);
  min-height: 260px;
  display: flex;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(100, 200, 255, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(18, 18, 22, 0.96), rgba(26, 26, 31, 0.92));
  border: 1px solid rgba(0, 212, 232, 0.28);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(50, 150, 255, 0.20);
  backdrop-filter: blur(14px);
  transform: rotate(-8deg) translateZ(0);
}

.lp-offer-ticket::before,
.lp-offer-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #101728;
  border: 1px solid rgba(0, 212, 232, 0.16);
  transform: translateY(-50%);
  z-index: 2;
}

.lp-offer-ticket::before {
  left: -28px;
}

.lp-offer-ticket::after {
  right: -28px;
}

.lp-ticket-stub {
  display: grid;
  place-items: center;
  width: 34%;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(160deg, #0c1020, #2378d6 58%, var(--accent-cyan));
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.lp-ticket-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
}

.lp-ticket-kicker {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--lp-cyan-text);
  margin-bottom: 18px;
}

.lp-ticket-code {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #5bc7ff;
  margin-bottom: 26px;
}

.lp-ticket-barcode {
  display: flex;
  align-items: stretch;
  gap: 5px;
  height: 72px;
  opacity: 0.62;
}

.lp-ticket-barcode span {
  display: block;
  width: 4px;
  background: rgba(210, 228, 255, 0.75);
  border-radius: 2px;
}

.lp-ticket-barcode span:nth-child(2n) {
  width: 8px;
}

.lp-ticket-barcode span:nth-child(3n) {
  height: 82%;
}

.lp-ticket-barcode span:nth-child(4n) {
  width: 2px;
  height: 66%;
}

.lp-ticket-barcode span:nth-child(5n) {
  width: 10px;
}

.lp-offer-orb,
.lp-offer-line {
  position: absolute;
  pointer-events: none;
}

.lp-offer-orb {
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #64c8ff;
  box-shadow: 0 0 18px #64c8ff;
}

.lp-offer-orb-1 {
  top: 18%;
  right: 12%;
}

.lp-offer-orb-2 {
  bottom: 16%;
  left: 9%;
  background: #dcefff;
  box-shadow: 0 0 18px #64c8ff;
}

.lp-offer-line {
  z-index: 0;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(50, 150, 255, 0.18);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.lp-offer-line-1 {
  top: 9%;
  right: -7%;
  width: 300px;
  height: 300px;
  transform: rotate(-18deg);
}

.lp-offer-line-2 {
  top: 19%;
  bottom: auto;
  left: -3%;
  width: 280px;
  height: 280px;
  opacity: 0.5;
  transform: rotate(198deg);
}

/* ---------- Floating CTA (self-conversion → scrolls to hero form) ---------- */
.lp-floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 55%, var(--accent-amber) 100%);
}

.lp-floating-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lp-floating-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.lp-floating-cta-btn {
  padding: 9px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lp-purple-text);
  background: #ffffff;
  border-radius: 50px;
  transition: var(--transition-base);
}

.lp-floating-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* ============================================
   BOTTOM BAR (compact footer)
   ============================================ */
.lp-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 44px 0 0;
}

.lp-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.lp-footer-brand {
  max-width: 320px;
}

.lp-footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
}

.lp-footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.lp-footer-social,
.footer-social {
  display: flex;
  gap: 12px;
}

.lp-social-link,
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition-base);
}

.lp-social-link:hover,
.social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.lp-footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.lp-footer-contact address {
  font-style: normal;
}

.lp-footer-contact address p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.lp-footer-contact address svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-cyan);
}

.lp-footer-contact {
  margin-right: clamp(40px, 8vw, 150px);
}

.lp-footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 24px;
  text-align: center;
}

.lp-footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   HERO ENTRY ANIMATIONS
   (same fadeInUp curve / timing as the main site)
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-hero-tag.lp-anim-headline {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.15s;
}

.lp-hero-title.lp-anim-headline {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.3s;
}

.lp-fineprint.lp-anim-form {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.55s;
}

.lp-lead-form.lp-anim-form {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.7s;
}

.lp-hero-badges.lp-anim-form {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.9s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .lp-tech-wave {
    opacity: 0.72;
    width: auto;
    left: 0;
    right: 0;
  }

  .lp-hero {
    overflow: hidden;
  }

  /* 手機及平板 GPU 對大型 SVG 濾鏡和持續動畫的處理成本很高。
     保留靜態科技波浪，但停止最昂貴的陰影、流光及粒子動畫。 */
  .lp-arc-base,
  .lp-arc-flow {
    animation: none;
    filter: none;
  }

  .lp-arc-flow {
    display: none;
  }

  .lp-wave-glow {
    animation: none;
    will-change: auto;
  }

  .lp-particle {
    animation: none;
    box-shadow: 0 0 6px rgba(100, 200, 255, 0.65);
  }

  .lp-topbar,
  .lp-logos-heading,
  .lp-logo-item,
  .lp-offer-ticket {
    backdrop-filter: none;
  }
}

@media (max-width: 900px) {
  .lp-hero {
    min-height: auto;
  }

  .lp-hero-badges {
    width: 100%;
  }

  .lp-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .lp-logo-item {
    height: 79px;
    padding: 9px;
  }

  .lp-logo-item img {
    height: 100%;
    padding: 7px 10px;
  }

  .lp-adv-grid {
    grid-template-columns: 1fr;
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
  }

  .lp-offer-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-offer-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-offer-line-1 {
    top: 16%;
    right: 0;
    width: 260px;
    height: 260px;
    transform: rotate(-26deg);
  }

  .lp-offer-line-2 {
    top: auto;
    bottom: 8%;
    left: 6%;
    width: 210px;
    height: 210px;
    opacity: 0.65;
    transform: rotate(-26deg);
  }

  .lp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer-inner {
    gap: 32px;
  }

  .lp-footer-contact {
    margin-right: 0;
  }
}

@media (min-width: 901px) and (max-width: 1440px) {
  .lp-offer-line-1 {
    top: 9%;
    right: -7%;
    width: 300px;
    height: 300px;
    transform: rotate(-18deg);
  }

  .lp-offer-line-2 {
    top: 19%;
    bottom: auto;
    left: -3%;
    width: 280px;
    height: 280px;
    opacity: 0.5;
    transform: rotate(198deg);
  }

  .lp-offer-orb-1 {
    top: 15%;
    right: 11%;
  }

  .lp-offer-orb-2 {
    bottom: 17%;
    left: 11%;
  }
}

@media (max-width: 1100px) {
  .lp-hero-badges {
    width: 100%;
    max-width: 836px;
  }

  .lp-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-offer-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-offer-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-offer-visual {
    min-height: 340px;
  }
}

/* Tablet (between phone and desktop): the LIMITED OFFER block was too tall.
   Scale the ticket down proportionally (identical artwork / position, just
   smaller) and reduce the reserved height so the block gets shorter — the
   panel width is unchanged. */
@media (min-width: 561px) and (max-width: 1100px) {
  .lp-offer-visual {
    min-height: 232px;
  }

  .lp-offer-ticket {
    transform: rotate(-8deg) scale(0.8);
  }
}

@media (max-width: 560px) {
  .lp-hero-badges {
    width: 100%;
  }

  .lp-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-logo-item {
    height: 70px;
    padding: 8px;
  }

  .lp-logo-item img {
    height: 100%;
    padding: 6px 9px;
  }

  .lp-lead-form .btn-primary {
    width: 100%;
  }

  .lp-cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .lp-offer-panel {
    padding: 30px 20px;
  }

  .lp-offer-visual {
    min-height: 300px;
  }

  .lp-offer-line-1 {
    top: 13%;
    right: -24%;
    width: 260px;
    height: 260px;
    transform: rotate(-18deg);
  }

  .lp-offer-line-2 {
    top: 18%;
    bottom: auto;
    left: -24%;
    width: 240px;
    height: 240px;
    opacity: 0.48;
    transform: rotate(200deg);
  }

  .lp-offer-orb-1 {
    top: 14%;
    right: 12%;
  }

  .lp-offer-orb-2 {
    bottom: 15%;
    left: 10%;
  }

  .lp-offer-ticket {
    width: min(360px, 88vw);
    min-height: 230px;
  }

  .lp-ticket-main {
    padding: 28px;
  }

  .lp-ticket-stub {
    padding: 22px 18px;
  }

  .lp-ticket-barcode {
    height: 58px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  .lp-anim-headline,
  .lp-anim-form,
  .lp-arc-base,
  .lp-arc-flow,
  .lp-wave-glow,
  .lp-particle,
  .clients-grid {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   LEAD DETAILS MODAL
   ============================================ */
.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lp-modal.is-open {
  display: flex;
}

.lp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease both;
}

.lp-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(10, 10, 14, 0.28);
  padding: 44px 40px 40px;
  animation: lpModalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lpModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.lp-modal-close:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.lp-modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-modal-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.lp-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-field-row {
  display: flex;
  gap: 14px;
}

.lp-modal-form input {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 18px;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.lp-modal-form input::placeholder {
  color: var(--text-muted);
}

.lp-modal-form input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.lp-modal-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 520px) {
  .lp-modal-dialog {
    padding: 40px 24px 28px;
  }

  .lp-field-row {
    flex-direction: column;
  }
}

/* ============================================
   THANK-YOU PAGE
   ============================================ */
.lp-ty-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(0, 212, 232, 0.10), transparent 70%),
    radial-gradient(50% 70% at 80% 30%, rgba(168, 85, 247, 0.10), transparent 70%),
    var(--bg-primary);
}

.lp-ty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 12px 40px rgba(0, 212, 232, 0.3);
  animation: fadeInUp 0.7s ease both;
}

.lp-ty-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.1s;
}

.lp-ty-title .accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-ty-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.2s;
}

.lp-ty-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: var(--bg-card);
  box-shadow: 0 6px 20px rgba(10, 10, 14, 0.06);
  font-size: 1rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.3s;
}

.lp-ty-call strong {
  color: var(--lp-cyan-text);
  font-weight: 700;
}

.lp-ty-call svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ---------- Back button (matches the main site's .back-home-btn, 圖7) ---------- */
.lp-back-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 212, 232, 0.35);
  border-radius: 50px;
  color: var(--lp-cyan-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lp-back-btn:hover {
  background: rgba(0, 212, 232, 0.2);
  border-color: var(--accent-cyan);
  transform: translateX(-5px);
  box-shadow: 0 0 20px rgba(0, 212, 232, 0.2);
}

.lp-back-btn svg {
  transition: transform 0.3s ease;
}

.lp-back-btn:hover svg {
  transform: translateX(-3px);
}

/* ---------- Location + Google map — directly adopts the main site's 圖2
   contact layout (map left, details card right), re-skinned for the light
   theme. Class names mirror the main site so the design is identical. ---------- */
.lp-body .location-section {
  padding: 0;
  background: transparent;
}

.lp-body .location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.lp-body .map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 420px;
  background: var(--bg-card);
  box-shadow: 0 12px 40px rgba(10, 10, 14, 0.08);
}

.lp-body .map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.lp-body .contact-details-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 12px 40px rgba(10, 10, 14, 0.06);
}

.lp-body .contact-details-wrapper .section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.lp-body .details-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.lp-body .contact-details-wrapper .detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-body .contact-details-wrapper .detail-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 212, 232, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.lp-body .contact-details-wrapper .detail-icon .wechat-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("asset/wechat.svg") center / contain no-repeat;
  mask: url("asset/wechat.svg") center / contain no-repeat;
}

.lp-body .contact-details-wrapper .detail-icon .call-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("asset/call.svg") center / contain no-repeat;
  mask: url("asset/call.svg") center / contain no-repeat;
}

.lp-body .contact-details-wrapper .detail-content {
  flex: 1;
}

.lp-body .contact-details-wrapper .detail-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-body .contact-details-wrapper .detail-content p {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

.lp-body .contact-details-wrapper .detail-content a {
  color: inherit;
  text-decoration: none;
}

.lp-body .contact-details-wrapper .detail-content a:hover {
  color: var(--lp-cyan-text);
}

.lp-body .social-section {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.lp-body .social-section h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-body .contact-details-wrapper .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-body .contact-details-wrapper .social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lp-body .contact-details-wrapper .social-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--lp-cyan-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 232, 0.15);
}

@media (max-width: 820px) {
  .lp-body .location-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lp-body .map-wrapper,
  .lp-body .map-wrapper iframe {
    min-height: 320px;
  }
}