* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #071b34;
  --blue: #0f62fe;
  --blue-dark: #0f3d75;
  --cyan: #38bdf8;
  --text: #172033;
  --muted: #64748b;
  --light: #f4f7fb;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --nav-height: 78px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
  font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  padding-top: var(--nav-height);
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.88);
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100% - 1160px) / 2));
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  color: #263244;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--light);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,27,52,0.96), rgba(7,27,52,0.68), rgba(7,27,52,0.36)),
    url("assets/hero-bg.png") center/cover no-repeat;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: 80px 0;
}

.eyebrow {
  color: #9bd8ff;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.dark-text {
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.12;
  max-width: 840px;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}

#dynamicText {
  display: inline-block;
  min-height: 1.15em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#dynamicText.fade {
  opacity: 0;
  transform: translateY(12px);
}

.hero-desc {
  max-width: 680px;
  font-size: 20px;
  color: rgba(255,255,255,0.86);
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.primary {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: white;
  box-shadow: 0 15px 35px rgba(15,98,254,0.28);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(15,98,254,0.36);
}

.secondary {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.36);
  color: white;
}

.secondary:hover {
  background: rgba(255,255,255,0.16);
}

.hero-panel {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.22);
}

.panel-title {
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 18px;
}

.panel-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.88);
}

.panel-row span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(56,189,248,0.18);
  color: #bfefff;
  font-weight: 800;
}

.stats-section {
  background: white;
  border-bottom: 1px solid var(--border);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat {
  background: white;
  padding: 34px 22px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 105px 0;
}

.section-light {
  background: var(--light);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2,
.cta-box h2,
.contact-info h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-card,
.service-card,
.timeline-item,
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-card {
  padding: 34px;
}

.about-card h3,
.service-card h3,
.timeline-item h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 12px;
}

.about-card p,
.service-card p,
.timeline-item p,
.contact-info p {
  color: var(--muted);
}

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

.service-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eef6ff;
}

.service-card h3,
.service-card p {
  padding-left: 28px;
  padding-right: 28px;
}

.service-card h3 {
  padding-top: 28px;
}

.service-card p {
  padding-bottom: 30px;
}

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

.timeline-item {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e8f1ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 22px;
}

.cta-section {
  background: var(--navy);
  color: white;
  padding: 78px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, rgba(15,98,254,0.32), rgba(56,189,248,0.14));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  padding: 42px;
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  color: rgba(255,255,255,0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-list strong {
  display: block;
  color: var(--navy);
}

.contact-list span {
  color: var(--muted);
}

.contact-form {
  padding: 34px;
  display: grid;
  gap: 16px;
}

input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: white;
}

input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15,98,254,0.12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-btn {
  width: 100%;
  border: 0;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer {
  background: #061224;
  color: white;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: rgba(255,255,255,0.74);
}

.footer strong {
  color: white;
}

.float-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(15,98,254,0.38);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  :root {
    --nav-height: 72px;
  }

  .navbar {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
  }

  .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 70px 0;
  }

  .hero-panel {
    display: none;
  }

  .stats,
  .about-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .float-contact {
    right: 16px;
    bottom: 16px;
  }
}


/* LOGO ONLY UPDATE - original layout/content/images kept */
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}


/* ===== TOP VISUAL UPGRADE (non-breaking) ===== */

/* Stronger hero overlay for readability + premium tone */
.hero-bg{
  background:
    linear-gradient(90deg, rgba(7,27,52,0.98), rgba(7,27,52,0.82), rgba(7,27,52,0.55)),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15)),
    url("assets/hero-bg.png") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
}

/* Add subtle vignette */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(60% 50% at 70% 40%, rgba(56,189,248,0.10), rgba(0,0,0,0.0) 60%);
  pointer-events:none;
}

/* Premium typography feel */
.hero h1{
  text-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Glassmorphism for hero panel */
.hero-panel{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(22px);
}

/* Card hover refinement */
.about-card, .service-card, .timeline-item{
  transition: transform .28s ease, box-shadow .28s ease;
}
.about-card:hover, .service-card:hover, .timeline-item:hover{
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(2,6,23,0.18);
}

/* Buttons premium gradient */
.primary{
  background: linear-gradient(135deg, #0f62fe, #2563eb 60%, #38bdf8);
}

/* Subtle page background gradient for depth */
body{
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 60%, #ffffff 100%);
}

/* Floating CTA stronger presence */
.float-contact{
  box-shadow: 0 25px 60px rgba(15,98,254,0.5);
}

/* Reveal animation smoother */
.reveal{
  transform: translateY(36px);
}
.reveal.active{
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}

/* Navbar slight shadow on scroll (class added via JS if exists, harmless if not) */
.navbar.scrolled{
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
}



/* ===== BRAND FINAL VERSION: premium Apple-like clean visual layer ===== */
/* 保留原本內容，只加品牌級視覺、空間感、微互動 */

:root{
  --brand-black:#05070b;
  --brand-silver:#f6f7f9;
  --brand-glass:rgba(255,255,255,.72);
}

body{
  background:
    radial-gradient(circle at 20% 5%, rgba(15,98,254,.08), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 45%,#ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.navbar{
  height: 82px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,.58);
}

.logo{
  letter-spacing: -.3px;
}

.logo-img{
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(2,6,23,.10));
}

.nav-links{
  gap: 34px;
}

.nav-links a{
  position: relative;
  font-weight: 800;
  letter-spacing: .2px;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0%;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg,#0f62fe,#38bdf8);
  transition: width .25s ease;
}

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

.hero{
  min-height: calc(100vh - 82px);
  isolation: isolate;
}

.hero-bg{
  transform: scale(1.02);
  animation: heroBreath 14s ease-in-out infinite alternate;
  background:
    linear-gradient(90deg, rgba(3,7,18,.94) 0%, rgba(7,27,52,.82) 42%, rgba(7,27,52,.46) 100%),
    radial-gradient(circle at 18% 50%, rgba(15,98,254,.28), transparent 34%),
    radial-gradient(circle at 62% 24%, rgba(56,189,248,.18), transparent 36%),
    url("assets/hero-bg.png") center/cover no-repeat !important;
}

@keyframes heroBreath{
  from{ transform: scale(1.02); }
  to{ transform: scale(1.075); }
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%),
    linear-gradient(0deg, rgba(2,6,23,.36), transparent 42%);
}

.hero-inner{
  z-index:2;
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow{
  font-size: 12px;
  letter-spacing: 3.2px;
  opacity: .94;
}

.hero h1{
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-desc{
  font-size: clamp(18px,2vw,22px);
  line-height: 1.9;
  color: rgba(255,255,255,.84);
}

.hero-panel{
  border-radius: 34px;
  background: rgba(255,255,255,.115);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 40px 100px rgba(0,0,0,.32);
}

.btn{
  min-height: 54px;
  padding: 14px 30px;
  border-radius: 999px;
  letter-spacing: .2px;
}

.primary{
  background: linear-gradient(135deg,#0f62fe 0%,#2563eb 48%,#38bdf8 100%) !important;
  box-shadow: 0 18px 46px rgba(15,98,254,.34), inset 0 1px 0 rgba(255,255,255,.26);
}

.secondary{
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
}

.section{
  padding-top: 125px;
  padding-bottom: 125px;
}

.section-head h2,
.cta-box h2,
.contact-info h2{
  font-weight: 900;
  letter-spacing: -1.8px;
}

.section-head{
  margin-bottom: 68px;
}

.stats{
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,.08);
}

.stat{
  padding: 42px 24px;
}

.stat strong{
  font-size: 40px;
  letter-spacing: -1.2px;
}

.about-card,
.service-card,
.timeline-item,
.contact-form,
.contact-list div{
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226,232,240,.78);
}

.about-card,
.timeline-item{
  padding: 38px;
}

.about-card:hover,
.service-card:hover,
.timeline-item:hover{
  transform: translateY(-12px) scale(1.01);
}

.service-card{
  overflow:hidden;
}

.service-card img{
  height: 255px;
  background: linear-gradient(135deg,#eff6ff,#ffffff);
}

.timeline-item span{
  background: linear-gradient(135deg,#e8f1ff,#ffffff);
  box-shadow: inset 0 1px 0 #fff, 0 15px 30px rgba(15,98,254,.12);
}

.cta-section{
  background:
    radial-gradient(circle at 18% 20%, rgba(56,189,248,.22), transparent 34%),
    radial-gradient(circle at 70% 60%, rgba(15,98,254,.24), transparent 34%),
    #050b18;
}

.cta-box{
  border-radius: 38px;
  padding: 54px;
  backdrop-filter: blur(20px);
  box-shadow: 0 36px 100px rgba(0,0,0,.26);
}

input,textarea{
  border-radius: 20px;
  min-height: 54px;
}

.float-contact{
  padding: 16px 24px;
  backdrop-filter: blur(20px);
  animation: floatPulse 2.8s ease-in-out infinite;
}

@keyframes floatPulse{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-5px); }
}

.reveal{
  opacity:0;
  transform: translateY(46px) scale(.985);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1);
}

.reveal.active{
  opacity:1;
  transform: translateY(0) scale(1);
}

@media(max-width:920px){
  .navbar{
    height:72px;
  }
  .logo span:last-child{
    font-size:14px;
  }
  .logo-img{
    width:44px;
    height:44px;
  }
  .hero h1{
    letter-spacing:-1.6px;
  }
  .section{
    padding-top:86px;
    padding-bottom:86px;
  }
  .cta-box{
    padding:34px;
  }
}


/* ===== TSMC / Apple-like final enterprise visual system ===== */
/* 保留原本內容，升級排版、留白、品牌感與服務區呈現 */

:root{
  --nav-height: 86px;
  --premium-black:#020617;
  --premium-navy:#061a33;
  --premium-blue:#0057d9;
  --premium-soft:#f6f8fb;
}

body{
  background:#ffffff !important;
  color:#111827;
  font-weight:400;
  letter-spacing:.01em;
}

.navbar{
  height:var(--nav-height);
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  border-bottom:1px solid rgba(15,23,42,.08);
}

.logo{
  font-size:17px;
  font-weight:900;
}

.logo-img{
  width:58px !important;
  height:58px !important;
}

.nav-links a{
  font-size:15px;
  font-weight:800;
  color:#111827;
}

.hero{
  min-height:calc(100vh - var(--nav-height));
  background:#020617;
}

.hero-bg{
  background:
    linear-gradient(90deg, rgba(2,6,23,.96) 0%, rgba(6,26,51,.78) 42%, rgba(6,26,51,.34) 100%),
    linear-gradient(180deg, rgba(2,6,23,.12), rgba(2,6,23,.44)),
    url("assets/hero-bg.png") center/cover no-repeat !important;
  transform:scale(1.02);
  animation:heroSlowZoom 18s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom{
  from{transform:scale(1.02);}
  to{transform:scale(1.08);}
}

.hero-inner{
  grid-template-columns: 1.08fr .72fr;
  min-height:calc(100vh - var(--nav-height));
  padding:96px 0;
}

.eyebrow{
  color:#7dd3fc;
  letter-spacing:3.8px;
  font-weight:900;
}

.hero h1{
  max-width:900px;
  font-size:clamp(46px, 6.2vw, 88px);
  line-height:1.02;
  letter-spacing:-4px;
  font-weight:900;
  margin-bottom:28px;
}

.hero-desc{
  max-width:650px;
  font-size:clamp(18px, 1.35vw, 22px);
  line-height:1.95;
  color:rgba(255,255,255,.82);
}

.hero-panel{
  border-radius:36px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 44px 120px rgba(0,0,0,.38);
}

.brand-statement{
  background:#ffffff;
  padding:74px 0;
  border-bottom:1px solid #e5e7eb;
}

.brand-statement p{
  max-width:980px;
  margin:0 auto;
  text-align:center;
  font-size:clamp(28px, 4vw, 54px);
  line-height:1.25;
  letter-spacing:-2px;
  color:#061a33;
  font-weight:900;
}

.stats-section{
  background:#fff;
}

.stats{
  box-shadow:none;
  border-radius:0;
}

.stat{
  padding:56px 22px;
}

.stat strong{
  font-size:clamp(34px,3.2vw,52px);
  color:#061a33;
}

.section{
  padding:150px 0;
}

.section-light{
  background:#f6f8fb !important;
}

.section-head{
  max-width:880px;
  margin-bottom:84px;
}

.section-head h2,
.contact-info h2,
.cta-box h2{
  font-size:clamp(38px,4.8vw,64px);
  line-height:1.08;
  letter-spacing:-2.6px;
  font-weight:900;
  color:#061a33;
}

.section-head p{
  font-size:20px;
  line-height:1.9;
}

.about-grid{
  gap:28px;
}

.about-card,
.timeline-item,
.contact-form,
.contact-list div{
  border-radius:0;
  box-shadow:none;
  border:1px solid #e5e7eb;
}

.about-card{
  padding:44px;
  background:#fff;
}

.about-card h3,
.timeline-item h3{
  font-size:26px;
  letter-spacing:-.7px;
}

.about-card:hover,
.timeline-item:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 90px rgba(15,23,42,.10);
}

/* 服務內容改成大型企業章節式版面 */
.service-grid{
  display:none !important;
}

.service-showcase{
  display:grid;
  gap:42px;
}

.service-feature{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  align-items:center;
  gap:64px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  min-height:520px;
  overflow:hidden;
}

.service-feature.reverse{
  grid-template-columns:1.18fr .82fr;
}

.service-feature.reverse .service-copy{
  order:2;
}

.service-feature.reverse .service-media{
  order:1;
}

.service-copy{
  padding:72px;
}

.feature-number{
  display:inline-block;
  color:#0057d9;
  font-size:14px;
  font-weight:900;
  letter-spacing:3px;
  margin-bottom:26px;
}

.service-copy h3{
  font-size:clamp(32px,3.8vw,54px);
  line-height:1.1;
  color:#061a33;
  letter-spacing:-2px;
  margin-bottom:24px;
  font-weight:900;
}

.service-copy p{
  font-size:20px;
  line-height:1.9;
  color:#475569;
}

.service-media{
  height:100%;
  min-height:520px;
  overflow:hidden;
  background:#e5e7eb;
}

.service-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s cubic-bezier(.16,1,.3,1);
}

.service-feature:hover .service-media img{
  transform:scale(1.06);
}

.timeline{
  gap:0;
  border-top:1px solid #e5e7eb;
  border-left:1px solid #e5e7eb;
}

.timeline-item{
  border-left:0;
  border-top:0;
  border-radius:0;
  padding:44px 34px;
}

.timeline-item span{
  border-radius:50%;
  background:#eef4ff;
}

.cta-section{
  padding:120px 0;
  background:
    linear-gradient(135deg, rgba(2,6,23,.96), rgba(6,26,51,.96)),
    radial-gradient(circle at 20% 10%, rgba(56,189,248,.20), transparent 30%) !important;
}

.cta-box{
  border-radius:0;
  padding:72px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
}

.contact-grid{
  gap:72px;
}

.contact-form{
  padding:46px;
  background:#fff;
}

input,textarea{
  border-radius:0;
  min-height:58px;
}

.btn{
  border-radius:0;
  min-height:56px;
  padding:15px 34px;
}

.primary{
  background:#0057d9 !important;
  box-shadow:none !important;
}

.primary:hover{
  background:#003f9e !important;
}

.secondary{
  border-radius:0;
}

.float-contact{
  border-radius:0;
  background:#0057d9 !important;
}

.footer{
  background:#020617;
  padding:48px 0;
}

@media(max-width:920px){
  .hero-inner{
    min-height:auto;
    padding:76px 0;
  }

  .hero h1{
    letter-spacing:-2px;
  }

  .brand-statement{
    padding:54px 0;
  }

  .section{
    padding:92px 0;
  }

  .service-feature,
  .service-feature.reverse{
    grid-template-columns:1fr;
    gap:0;
    min-height:auto;
  }

  .service-feature.reverse .service-copy,
  .service-feature.reverse .service-media{
    order:initial;
  }

  .service-copy{
    padding:42px 28px;
  }

  .service-media{
    min-height:300px;
  }

  .cta-box{
    padding:42px 28px;
  }
}


/* ===== CTA OPTIMIZED: keep original layout, improve dark section readability ===== */
.cta-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(56,189,248,0.18), transparent 32%),
    radial-gradient(circle at 78% 58%, rgba(15,98,254,0.22), transparent 36%),
    linear-gradient(135deg, #020617 0%, #061a33 55%, #071b34 100%) !important;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035)) !important;
  box-shadow: 0 34px 95px rgba(0,0,0,0.32);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(56,189,248,0.18), transparent 38%, rgba(15,98,254,0.14));
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box .eyebrow {
  color: #93c5fd !important;
}

.cta-box h2 {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 12px 36px rgba(0,0,0,0.38);
}

.cta-box p {
  color: rgba(255,255,255,0.82) !important;
}

.cta-box .btn.primary {
  background: #0f62fe !important;
  color: #ffffff !important;
  box-shadow: 0 18px 45px rgba(15,98,254,0.35) !important;
}

.cta-box .btn.primary:hover {
  background: #2563eb !important;
  transform: translateY(-2px);
}


/* ===== Floating LINE + Facebook buttons ===== */
.float-contact {
  display: none !important;
}

.social-float-buttons {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  width: 178px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.22);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 65px rgba(2, 6, 23, 0.28);
  filter: brightness(1.04);
}

.social-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.line-btn {
  background: linear-gradient(135deg, #06C755, #00a843);
}

.fb-btn {
  background: linear-gradient(135deg, #1877F2, #0b5fd3);
}

@media (max-width: 920px) {
  .social-float-buttons {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .social-btn {
    width: 58px;
    height: 58px;
    padding: 12px;
    justify-content: center;
  }

  .social-btn span {
    display: none;
  }
}
