@charset "UTF-8";

:root {
  --ax-red: #76063C;
  --ax-red-dark: #4c0428;
  --text-main: #252525;
  --text-muted: #666;
  --line-soft: rgba(118, 6, 60, 0.12);
  --bg-soft: #f6efe5;
  --bg-soft-2: #f8f3ec;
  --bg-dark: #151018;
  --shadow-soft: 0 18px 45px rgba(42, 29, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Montserrat, "微軟正黑體", Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.7;
  -webkit-text-size-adjust: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
  width: min(1180px, 90%);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: 205px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  color: #111;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--ax-red);
  transition: width 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--ax-red);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-trigger,
.mobile-menu-close {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-trigger img,
.mobile-menu-close img {
  width: 34px;
}

.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  padding: 24px;
  background: rgba(16, 12, 15, 0.96);
}

.mobile-menu-panel.is-open {
  display: block;
}

.mobile-menu-close {
  display: block;
  margin-left: auto;
}

.mobile-menu-panel nav {
  width: min(420px, 100%);
  margin: 50px auto 0;
  display: grid;
  gap: 18px;
}

.mobile-menu-panel nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-section {
  position: relative;
  min-height: 760px;
  padding: 160px 5% 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #160e15;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 20%, rgba(118, 6, 60, 0.55), transparent 32%),
    linear-gradient(105deg, rgba(12, 8, 12, 0.94) 0%, rgba(18, 12, 18, 0.78) 45%, rgba(18, 12, 18, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ax-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.section-dark .eyebrow {
  color: #fff;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 26px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.85;
}

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

.btn-primary,
.btn-secondary,
.btn-light,
.inquiry-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--ax-red);
  color: #fff;
  box-shadow: 0 15px 34px rgba(118, 6, 60, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.inquiry-cta-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--ax-red);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.hero-panel div {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
  font-weight: 800;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: clamp(76px, 8vw, 120px) 5%;
  background: #fff;
}

.section-soft {
  background:
    radial-gradient(circle at 10% 10%, rgba(118, 6, 60, 0.035), transparent 32%),
    linear-gradient(150deg, #f8f3ec 0%, #f6efe5 58%, #f4ece1 100%);
}

.section-dark {
  background:
    linear-gradient(rgba(15, 11, 16, 0.88), rgba(15, 11, 16, 0.94)),
    url("../images/bg-lightwave.jpg") center bottom / cover no-repeat;
  color: #fff;
}

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

.section-heading {
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-heading.center {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  color: #232323;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.section-heading.light h2,
.section-heading.light p {
  color: #fff;
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.75);
}

.value-grid,
.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card,
.design-card,
.solution-card,
.product-card,
.app-card {
  border: 1px solid rgba(118, 6, 60, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.value-card,
.design-card {
  padding: 34px;
  text-align: center;
}

.value-card img,
.design-card img {
  width: 100px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.value-card h3,
.design-card h3,
.solution-card h3,
.product-card h3,
.app-card h3 {
  margin: 0;
  color: #222;
  font-weight: 850;
  line-height: 1.35;
}

.value-card h3,
.design-card h3 {
  font-size: 1.18rem;
}

.value-card p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.solution-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  
}

.solution-card.dark {
  background: linear-gradient(135deg, var(--ax-red) 0%, var(--ax-red-dark) 100%);
  color: #fff;
}

.solution-card.dark h3,
.solution-card.dark span,
.solution-card.dark li {
  color: #fff;
}

.solution-card.dark .solution-icon {
  background: rgba(255, 255, 255, 0.14);
}

.solution-icon {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 24px;

}

.solution-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.solution-card span,
.product-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ax-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-card h3 {
  font-size: 1.35rem;
}

.solution-card ul,
.design-card ul {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.solution-card li,
.design-card li {
  position: relative;
  padding-left: 20px;
  color: #575757;
  font-size: 0.94rem;
}

.solution-card li::before,
.design-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ax-red);
}

.design-card {
  text-align: left;
}

.design-card img {
  margin-left: 0;
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid rgba(118, 6, 60, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ax-red);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ax-red);
  color: #fff;
  box-shadow: 0 26px 60px rgba(35, 31, 32, 0.14);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(42, 29, 34, 0.16);
}

.product-card.is-hidden {
  display: none;
}

.product-image {
  aspect-ratio: 4 / 3;
  padding: 26px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 26px;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--ax-red);
}

.product-card p {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.7;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.app-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-card-body {
  padding: 28px;
}

.app-card h3 {
  color: #fff;
  font-size: 1.12rem;
}

.app-card p {
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.72;
}

.text-link {
  color: #fff;
  font-weight: 850;
}

.text-link::after {
  content: "\F054";
  margin-left: 8px;
  font-family: "Material Design Icons";
  font-size: 0.86em;
}

.text-link:hover {
  color: #76063C;
}

.center-btn {
  margin-top: 44px;
  text-align: center;
}

.btn-light {
  background: #fff;
  color: var(--ax-red);
}

.inquiry-cta {
  padding: clamp(76px, 8vw, 120px) 5%;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #faf8f6 100%);
}

.inquiry-cta-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.inquiry-cta .eyebrow {
  justify-content: center;
}

.inquiry-cta h2 {
  margin: 0 auto 24px;
  color: #333;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.inquiry-cta p {
  max-width: 820px;
  margin: 0 auto 42px;
  color: #555;
  font-size: 1.08rem;
  line-height: 1.85;
}

.inquiry-cta-btn {
  min-width: 168px;
  border: 1.5px solid var(--ax-red);
  color: var(--ax-red);
  background: transparent;
}

.inquiry-cta-btn:hover {
  color: #fff;
  background: var(--ax-red);
  box-shadow: 0 15px 34px rgba(118, 6, 60, 0.18);
}

.footer-copyright {
  padding: 16px 5%;
  background: #160e15;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
}

@media only screen and (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-trigger {
    display: block;
  }

  .hero-content,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }

  .value-grid,
  .solution-grid,
  .design-grid,
  .product-grid,
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  .site-header-inner {
    width: 92%;
    height: 64px;
  }

  .site-logo img {
    width: 180px;
  }

  .hero-section {
    min-height: auto;
    padding: 126px 6% 70px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 4.3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .section {
    padding: 64px 6%;
  }

  .section-heading.center,
  .section-heading.center .eyebrow {
    text-align: left;
    justify-content: flex-start;
  }

  .value-grid,
  .solution-grid,
  .design-grid,
  .product-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .design-card,
  .solution-card,
  .product-body,
  .app-card-body {
    padding: 26px;
  }

  .product-filter {
    justify-content: flex-start;
  }

  .filter-btn {
    width: 100%;
  }

  .inquiry-cta {
    padding: 64px 6%;
  }

  .inquiry-cta .eyebrow {
    justify-content: center;
  }
}

@media only screen and (max-width: 420px) {
  .site-logo img {
    width: 160px;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .section-heading h2,
  .inquiry-cta h2 {
    letter-spacing: -0.035em;
  }
}
