/* ============================================================
   LIC Inc. — Shared Stylesheet
   Design System: Luxury Tech / Human-Centered AI
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: #0f0a1e;
  font-family: '游ゴシック', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

/* ── Design Tokens ── */
:root {
  --white: #fff;
  --off: #f7f5fc;
  --p0: #ede8ff;
  --p1: #c4a0ff;
  --p2: #9b6fd4;
  --p3: #6b3fa0;
  --p4: #2d1b69;
  --p5: #0d0820;
  --ink: #0f0a1e;
  --gray: #5a5470;
  --lt: #9a94b0;
  --bd: #e2daf0;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --expo: cubic-bezier(.16,1,.3,1);
  --nav-h: 64px;
}

/* ── Custom Cursor ── */
#cur {
  position: fixed; z-index: 9999;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--p3);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, opacity .3s;
  mix-blend-mode: multiply;
}
#cur-r {
  position: fixed; z-index: 9998;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(107,63,160,.35);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .3s var(--expo), height .3s var(--expo), border-color .3s;
}
body.hov #cur { width: 6px; height: 6px; }
body.hov #cur-r { width: 54px; height: 54px; border-color: rgba(107,63,160,.6); }

/* ── Noise Overlay ── */
#noise {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  padding: 0 52px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13,8,32,.7) 0%, rgba(13,8,32,0) 100%);
  transition: background .5s, box-shadow .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
#nav.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(226,218,240,.5);
  box-shadow: 0 2px 32px rgba(107,63,160,.06);
}
#nav.solid .nav-links a {
  color: var(--gray);
  text-shadow: none;
}
#nav.solid .nav-logo img {
  filter: none;
}
#nav.dark {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(226,218,240,.5);
  box-shadow: 0 2px 32px rgba(107,63,160,.06);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,.6)); }
.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 12px; letter-spacing: .15em;
  color: rgba(255,255,255,.85); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color .25s;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--p3);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--expo);
}
.nav-links a:hover, .nav-links a.cur { color: var(--p3); }
.nav-links a:hover::after, .nav-links a.cur::after { transform: scaleX(1); }
.nav-cta {
  font-size: 11px; letter-spacing: .15em;
  color: var(--white) !important;
  background: var(--p3);
  padding: 9px 22px;
  text-decoration: none;
  border-radius: 2px;
  transition: background .3s, transform .2s var(--expo);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--p4); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ── Mobile Nav ── */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: none; padding: 4px;
  background: none; border: none;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--expo), opacity .3s, background .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 490;
  background: rgba(13,8,32,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--expo);
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: 'Georgia','游明朝','Yu Mincho',serif;
  font-size: clamp(22px, 5vw, 36px);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  letter-spacing: .1em;
  padding: 16px 0;
  transition: color .3s;
  border-bottom: 1px solid rgba(196,160,255,.1);
  width: 80%; text-align: center;
}
.nav-mobile a:hover { color: var(--p1); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .nav-mobile-cta {
  margin-top: 32px;
  font-family: 'Yu Gothic','游ゴシック',sans-serif;
  font-size: 12px; letter-spacing: .2em;
  color: var(--white) !important;
  background: var(--p3);
  padding: 14px 40px;
  border-radius: 2px;
  border-bottom: none !important;
}

/* ── Glow Line ── */
.gline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--p2), var(--p1), var(--p2), transparent);
  opacity: .25;
  position: relative; overflow: hidden;
}
.gline::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ── Scroll Reveal ── */
.rv {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--expo), transform .9s var(--expo);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv-l {
  opacity: 0; transform: translateX(-36px);
  transition: opacity .9s var(--expo), transform .9s var(--expo);
}
.rv-l.in { opacity: 1; transform: translateX(0); }
.rv-r {
  opacity: 0; transform: translateX(36px);
  transition: opacity .9s var(--expo), transform .9s var(--expo);
}
.rv-r.in { opacity: 1; transform: translateX(0); }

/* ── Section Common ── */
.sec { padding: 140px 0; position: relative; overflow: hidden; }
.sec-in { max-width: 1100px; margin: 0 auto; padding: 0 64px; }
.sec-eyebrow {
  font-size: 11px; letter-spacing: .35em;
  color: var(--p3); text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.sec-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--p3); flex-shrink: 0;
}
.sec-title {
  font-family: 'Georgia','游明朝','Yu Mincho',serif;
  font-size: clamp(28px,3.5vw,48px);
  font-weight: 400; line-height: 1.45;
  color: var(--ink); margin-bottom: 56px;
}
.sec-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--p3), var(--p1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding-top: var(--nav-h);
  background: var(--p5);
  position: relative; overflow: hidden;
  min-height: 360px;
  display: flex; align-items: flex-end;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,8,32,.55) 0%, rgba(13,8,32,.92) 100%),
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(107,63,160,.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(45,27,105,.3) 0%, transparent 60%);
  z-index: 1;
}
.page-hero-in {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 64px 88px;
  position: relative; z-index: 2; width: 100%;
}
.page-hero-en {
  font-size: 11px; letter-spacing: .35em;
  color: rgba(196,160,255,.8); text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-en::before {
  content: ''; width: 24px; height: 1px;
  background: rgba(196,160,255,.5);
}
.page-hero-h {
  font-family: 'Georgia','游明朝','Yu Mincho',serif;
  font-size: clamp(32px,5vw,60px);
  font-weight: 400; color: #fff;
  line-height: 1.3; margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.page-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.85);
  line-height: 2; max-width: 540px;
}

/* ── Corner Decorations ── */
.corner { position: absolute; width: 18px; height: 18px; z-index: 3; }
.c-tl { top: 0; left: 0; border-top: 2px solid var(--p2); border-left: 2px solid var(--p2); }
.c-tr { top: 0; right: 0; border-top: 2px solid var(--p2); border-right: 2px solid var(--p2); }
.c-bl { bottom: 0; left: 0; border-bottom: 2px solid var(--p2); border-left: 2px solid var(--p2); }
.c-br { bottom: 0; right: 0; border-bottom: 2px solid var(--p2); border-right: 2px solid var(--p2); }

/* ── Footer ── */
footer {
  background: var(--p5);
  padding: 56px 64px 40px;
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute;
  top: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,63,160,.25) 0%, transparent 70%);
}
.ft-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; z-index: 1;
  gap: 40px;
}
.ft-brand { display: flex; flex-direction: column; gap: 16px; }
.ft-brand img { height: 28px; width: auto; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)) drop-shadow(0 0 12px rgba(255,255,255,.5)); }
.ft-brand-tagline {
  font-size: 13px; color: rgba(255,255,255,.6);
  letter-spacing: .12em; line-height: 1.8;
  max-width: 220px;
}
.ft-nav-group { display: flex; gap: 64px; }
.ft-nav-col { display: flex; flex-direction: column; gap: 12px; }
.ft-nav-label {
  font-size: 11px; letter-spacing: .35em;
  color: rgba(196,160,255,.75); text-transform: uppercase;
  margin-bottom: 4px;
}
.ft-nav-col a {
  font-size: 13px; color: rgba(255,255,255,.65);
  text-decoration: none; letter-spacing: .1em;
  transition: color .3s;
}
.ft-nav-col a:hover { color: rgba(196,160,255,.8); }
.ft-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
  flex-wrap: wrap; gap: 12px;
}
.ft-copy {
  font-size: 12px; color: rgba(255,255,255,.5);
  letter-spacing: .1em;
}
.ft-legal {
  display: flex; gap: 20px;
}
.ft-legal a {
  font-size: 12px; color: rgba(255,255,255,.5);
  text-decoration: none; letter-spacing: .08em;
  transition: color .3s;
}
.ft-legal a:hover { color: rgba(196,160,255,.6); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .15em;
  color: var(--white);
  background: linear-gradient(135deg, var(--p3), var(--p4));
  padding: 14px 32px; border: none; border-radius: 2px;
  text-decoration: none; cursor: none;
  position: relative; overflow: hidden;
  transition: transform .3s var(--expo), box-shadow .3s;
  box-shadow: 0 4px 24px rgba(107,63,160,.3);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(107,63,160,.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .15em;
  color: var(--p3); text-decoration: none; cursor: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(107,63,160,.3);
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { color: var(--p2); border-color: var(--p2); }
.btn-arrow { font-size: 14px; transition: transform .3s; }
.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }

/* ── Stat Strip ── */
.stat-strip {
  background: var(--p5); padding: 80px 0;
  position: relative; overflow: hidden;
}
.stat-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(107,63,160,.3) 0%, transparent 70%);
}
.stat-in {
  max-width: 1100px; margin: 0 auto; padding: 0 64px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(196,160,255,.1);
  border: 1px solid rgba(196,160,255,.1);
}
.stat-item { padding: 48px 32px; text-align: center; }
.stat-n {
  font-family: 'Georgia',serif;
  font-size: clamp(32px,4vw,52px);
  font-weight: 400; color: #fff;
  line-height: 1; margin-bottom: 10px;
}
.stat-n sup { font-size: .45em; vertical-align: super; color: var(--p1); }
.stat-label { font-size: 12px; letter-spacing: .15em; color: rgba(255,255,255,.6); }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .sec-in { padding: 0 24px; }
  .sec { padding: 80px 0; }
  .page-hero-in { padding: 48px 24px 64px; }
  footer { padding: 40px 24px 32px; }
  .ft-inner { flex-direction: column; gap: 32px; }
  .ft-nav-group { gap: 32px; flex-wrap: wrap; }
  .ft-bottom { flex-direction: column; align-items: center; text-align: center; }
  .stat-in { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .stat-in { grid-template-columns: 1fr 1fr; }
}
