/* Innerexile AI Front Template v1 */

:root{
  --ix-bg:#000;
  --ix-text:#f4f0ea;
  --ix-muted:rgba(244,240,234,.68);
  --ix-soft:rgba(244,240,234,.48);
  --ix-line:rgba(255,255,255,.12);
  --ix-card:rgba(255,255,255,.045);
  --ix-card2:rgba(255,255,255,.075);
  --ix-blue:rgba(154,207,255,.72);
  --ix-width:min(calc(100vw - 128px), 1360px);
  --ix-topbar-width:min(calc(100vw - 64px), 1280px);
}

html,
body{
  margin:0;
  padding:0;
  background:#000 !important;
  color:var(--ix-text);
  overflow-x:hidden;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Noto Sans TC","PingFang TC","Helvetica Neue",Arial,sans-serif;
}

body{
  padding-top:92px;
}

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

/* Topbar */
.ix-topbar{
  position:fixed;
  z-index:9999;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:var(--ix-topbar-width);
  height:58px;
  padding:0 24px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(5,5,5,.78);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 56px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(22px) saturate(130%);
  -webkit-backdrop-filter:blur(22px) saturate(130%);
}

.ix-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.ix-brand img{
  display:block;
  height:24px;
  width:auto;
  max-width:320px;
  object-fit:contain;
}

.ix-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
  height:100%;
}

.ix-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:58px;
  font-size:13px;
  font-weight:400;
  letter-spacing:.01em;
  color:rgba(255,255,255,.64);
  white-space:nowrap;
}

.ix-nav a:hover,
.ix-nav a.active{
  color:rgba(255,255,255,.96);
}

.ix-menu{
  display:none;
}

/* Page */
.ix-page{
  background:#000;
  color:var(--ix-text);
  padding:58px 24px 78px;
  min-height:100vh;
}

/* Unified Hero */
.ix-hero{
  max-width:1040px;
  margin:0 auto 58px;
  text-align:center;
}

.ix-hero-kicker{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:24px;
  letter-spacing:.16em;
}

.ix-hero-kicker span:first-child{
  font-size:13px;
  color:rgba(255,255,255,.9);
}

.ix-hero-kicker span:nth-child(2){
  font-size:14px;
  color:rgba(255,255,255,.62);
}

.ix-hero-kicker span:nth-child(3){
  font-size:11px;
  color:var(--ix-blue);
  text-transform:uppercase;
  letter-spacing:.22em;
}

.ix-hero h1{
  margin:0;
  font-size:clamp(40px,7vw,80px);
  line-height:1.04;
  letter-spacing:-.06em;
  font-weight:520;
  color:var(--ix-text);
}

.ix-hero p{
  max-width:900px;
  margin:26px auto 0;
  color:rgba(244,240,234,.72);
  line-height:2;
  font-size:17px;
  font-weight:400;
}

/* Content Width */
.ix-section,
.ix-grid,
.ix-cards,
.ix-panel,
.ix-cta{
  width:var(--ix-width);
  max-width:1360px;
  margin-left:auto;
  margin-right:auto;
}

.ix-section-title{
  width:var(--ix-width);
  max-width:1360px;
  margin:72px auto 18px;
  font-size:clamp(32px,4vw,52px);
  line-height:1.1;
  letter-spacing:-.05em;
  font-weight:520;
  color:var(--ix-text);
}

.ix-section-lead{
  width:var(--ix-width);
  max-width:1360px;
  margin:0 auto 34px;
  color:rgba(244,240,234,.68);
  line-height:1.9;
  font-size:17px;
}

/* Cards */
.ix-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.ix-card{
  position:relative;
  min-height:210px;
  border:1px solid var(--ix-line);
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.08),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.022));
  border-radius:28px;
  padding:24px;
  box-shadow:0 24px 90px rgba(0,0,0,.35);
  color:var(--ix-text);
}

.ix-card-row{
  display:flex;
  flex-direction:row;
  gap:18px;
}

.ix-avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  background:linear-gradient(145deg,#f4f0ea,#777);
  color:#050505;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 auto;
}

.ix-card h3{
  margin:0 0 7px;
  font-size:24px;
  letter-spacing:-.04em;
  font-weight:520;
  color:var(--ix-text);
}

.ix-en{
  color:var(--ix-blue);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.ix-cat{
  color:var(--ix-blue);
  font-size:12px;
  margin-bottom:12px;
}

.ix-card p,
.ix-panel p,
.ix-cta p{
  color:rgba(244,240,234,.70);
  line-height:1.75;
  font-size:14px;
}

.ix-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}

.ix-tags span{
  font-size:11px;
  color:rgba(244,240,234,.52);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:6px 8px;
}

.ix-cta,
.ix-panel{
  border:1px solid var(--ix-line);
  background:var(--ix-card);
  border-radius:28px;
  padding:24px;
}

/* Footer */
.ix-footer{
  width:var(--ix-topbar-width);
  max-width:1280px;
  margin:86px auto 42px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.48);
}

.ix-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.ix-footer-brand{
  font-size:12px;
  letter-spacing:.08em;
  color:rgba(255,255,255,.58);
  white-space:nowrap;
}

.ix-footer-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px 18px;
  flex-wrap:wrap;
}

.ix-footer a{
  font-size:13px;
  font-weight:400;
  color:rgba(255,255,255,.48);
  white-space:nowrap;
}

.ix-footer a:hover{
  color:rgba(255,255,255,.88);
}

/* Tablet */
@media(max-width:1180px){
  :root{
    --ix-width:min(calc(100vw - 48px), 860px);
  }

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

/* Mobile */
@media(max-width:720px){
  :root{
    --ix-width:calc(100vw - 36px);
    --ix-topbar-width:calc(100vw - 24px);
  }

  body{
    padding-top:86px;
  }

  .ix-topbar{
    top:12px;
    height:62px;
    padding:0 14px 0 18px;
  }

  .ix-brand{
    max-width:calc(100% - 58px);
  }

  .ix-brand img{
    height:22px;
    max-width:245px;
  }

  .ix-menu{
    all:unset;
    box-sizing:border-box;
    display:flex;
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.055);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    z-index:10001;
  }

  .ix-menu span{
    width:19px;
    height:2px;
    border-radius:999px;
    background:rgba(255,255,255,.9);
    transition:transform .22s ease, opacity .22s ease;
  }

  body.ix-menu-open .ix-menu span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  body.ix-menu-open .ix-menu span:nth-child(2){
    opacity:0;
  }

  body.ix-menu-open .ix-menu span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .ix-nav{
    display:none;
    position:absolute;
    top:74px;
    left:0;
    right:0;
    width:100%;
    height:auto;
    padding:12px;
    border-radius:26px;
    border:1px solid rgba(255,255,255,.13);
    background:rgba(9,9,9,.96);
    box-shadow:0 28px 80px rgba(0,0,0,.52);
    backdrop-filter:blur(24px) saturate(130%);
    -webkit-backdrop-filter:blur(24px) saturate(130%);
  }

  body.ix-menu-open .ix-nav{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .ix-nav a{
    width:100%;
    min-height:54px;
    height:auto;
    padding:0 18px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.045);
    font-size:17px;
    color:rgba(255,255,255,.86);
  }

  .ix-nav a::after{
    content:"›";
    opacity:.38;
    font-size:22px;
  }

  .ix-page{
    padding:54px 0 52px;
  }

  .ix-hero{
    width:var(--ix-width);
    max-width:var(--ix-width);
    margin:0 auto 48px;
  }

  .ix-hero-kicker{
    gap:6px;
    margin-bottom:22px;
  }

  .ix-hero-kicker span:first-child{
    font-size:13px;
    letter-spacing:.20em;
  }

  .ix-hero-kicker span:nth-child(2){
    font-size:13px;
    letter-spacing:.16em;
  }

  .ix-hero-kicker span:nth-child(3){
    font-size:10px;
    letter-spacing:.20em;
  }

  .ix-hero h1{
    font-size:clamp(42px,14vw,64px);
    line-height:1.03;
    letter-spacing:-.07em;
    margin:0 auto 28px;
  }

  .ix-hero p{
    font-size:15px;
    line-height:1.85;
    max-width:100%;
    margin-top:0;
  }

  .ix-hero p br{
    display:none;
  }

  .ix-section-title{
    font-size:clamp(34px,10vw,48px);
    line-height:1.08;
    margin-top:54px;
    margin-bottom:14px;
  }

  .ix-section-lead{
    font-size:15px;
    line-height:1.8;
    margin-bottom:26px;
  }

  .ix-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .ix-card{
    min-height:auto;
    border-radius:26px;
    padding:22px;
  }

  .ix-card-row{
    display:block;
  }

  .ix-avatar{
    width:64px;
    height:64px;
    margin-bottom:18px;
  }

  .ix-card h3{
    font-size:24px;
  }

  .ix-panel,
  .ix-cta{
    border-radius:26px;
    padding:22px;
  }

  .ix-footer{
    width:var(--ix-topbar-width);
    max-width:var(--ix-topbar-width);
    margin:60px auto 28px;
    padding-top:24px;
  }

  .ix-footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .ix-footer-links{
    justify-content:flex-start;
    gap:12px 14px;
  }
}
