:root {
  color-scheme: light;
  --ink: #12202f;
  --muted: #5b6978;
  --line: #d9e1ea;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #1458d4;
  --teal: #00a88f;
  --green: #61b15a;
  --orange: #e48b36;
  --red: #cf4c5b;
  --navy: #0a1524;
  --shadow: 0 24px 80px rgba(12, 28, 48, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(12, 28, 48, 0.1);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 20, 34, 0.28);
  backdrop-filter: blur(14px);
}

.is-scrolled .nav {
  border-color: var(--line);
  background: rgba(246, 248, 251, 0.85);
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.86;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.is-scrolled .nav a:hover {
  background: var(--white);
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 168, 143, 0.28);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 13, 25, 0.92) 0%, rgba(4, 13, 25, 0.72) 42%, rgba(4, 13, 25, 0.1) 100%),
    linear-gradient(0deg, rgba(4, 13, 25, 0.8) 0%, rgba(4, 13, 25, 0) 42%);
}

.hero-grid {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 94vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 118px 0 132px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-metrics {
  display: grid;
  width: min(650px, 100%);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(4, 13, 25, 0.42);
}

.hero-metrics dt {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.quick-check {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: -74px auto 0;
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
}

.domain-search,
.trust-strip {
  border: 1px solid rgba(217, 225, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.domain-search {
  padding: 18px;
}

.domain-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.domain-search div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
textarea,
button {
  font: inherit;
}

.domain-search input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ink);
  outline: none;
}

.domain-search input {
  min-height: 52px;
  padding: 0 16px;
}

.domain-search input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 143, 0.12);
}

.domain-search button,
.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.domain-search button {
  padding: 0 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.service-card,
.plan-card,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  box-shadow: 0 18px 52px rgba(12, 28, 48, 0.08);
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-weight: 950;
}

.accent-green .icon {
  background: var(--green);
}

.accent-blue .icon {
  background: var(--blue);
}

.accent-orange .icon {
  background: var(--orange);
}

.accent-red .icon {
  background: var(--red);
}

.accent-cyan .icon {
  background: linear-gradient(135deg, var(--teal), #2e7bd8);
}

.service-card h3,
.plan-card h3,
.steps h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0;
}

.service-card p,
.plan-card li,
.steps p,
.faq p {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.security-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 48%, rgba(0, 168, 143, 0.34), transparent 24%),
    linear-gradient(135deg, #0b1d2b, #123751 54%, #0a1524);
  box-shadow: var(--shadow);
}

.security-visual::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 44px 44px;
}

.pulse-ring {
  position: absolute;
  inset: 118px;
  border: 1px solid rgba(0, 220, 190, 0.44);
  border-radius: 50%;
  animation: pulse 2.8s ease-in-out infinite;
}

.node,
.shield {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-weight: 950;
}

.node {
  width: 20px;
  height: 20px;
  background: var(--teal);
  box-shadow: 0 0 0 10px rgba(0, 168, 143, 0.18);
}

.node-a {
  left: 24%;
  top: 26%;
}

.node-b {
  right: 20%;
  top: 38%;
}

.node-c {
  left: 38%;
  bottom: 20%;
}

.shield {
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  font-size: 27px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.feature-list span {
  color: var(--teal);
  font-weight: 950;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px;
  box-shadow: 0 14px 44px rgba(12, 28, 48, 0.07);
}

.plan-card.featured {
  border-color: rgba(0, 168, 143, 0.55);
  box-shadow: 0 24px 70px rgba(0, 168, 143, 0.2);
}

.plan-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.featured .plan-label {
  background: rgba(0, 168, 143, 0.12);
  color: var(--teal);
}

.price {
  margin: 22px 0;
  color: var(--ink);
  font-weight: 800;
}

.price strong {
  font-size: 44px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 15px;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 20px;
}

.plan-card a {
  display: grid;
  min-height: 48px;
  margin-top: auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.featured a {
  background: var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 245px;
  padding: 24px;
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.faq p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 104px auto 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top right, rgba(0, 168, 143, 0.24), transparent 40%);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  margin-top: 8px;
  padding: 14px 15px;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 44px auto 0;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    position: absolute;
    top: 74px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 16px;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: currentColor;
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .is-scrolled .menu-button {
    border-color: var(--line);
    background: var(--white);
  }

  .quick-check,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(112px, 1fr));
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: 780px;
    width: min(100% - 32px, 1180px);
    padding-bottom: 112px;
  }

  .hero-metrics,
  .domain-search div,
  .service-grid,
  .steps,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .quick-check,
  .section,
  .contact,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .quick-check {
    margin-top: -54px;
  }

  .section {
    padding-top: 78px;
  }

  .security-visual {
    min-height: 360px;
  }

  .pulse-ring {
    inset: 78px;
  }

  .footer {
    display: grid;
  }
}
