:root{
  --accent: #00ff88;
  --accent-raw: 0,255,136;
  --bg0:#04060a;
  --bg1:#070b12;
  --bg2:#0a0e16;
  --panel:rgba(255,255,255,.05);
  --panel2:rgba(255,255,255,.075);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.06);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --muted2:rgba(255,255,255,.45);
  --brand:#6ee7ff;
  --brand2:#b3a3ff;
  --good:#7CFFB2;
  --shadow: 0 16px 80px rgba(0,0,0,.6);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; height:100%}
body{
  margin:0;
  font-family: 'Plus Jakarta Sans', 'Zen Kaku Gothic New', ui-sans-serif, system-ui, sans-serif;
  color:var(--text);
  background: var(--bg0);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
}

a{color:inherit; text-decoration:none}
img{display:block; max-width:100%}

.container{max-width:var(--max); margin:0 auto; padding:0 28px}

/* ==========================================
   ATMOSPHERE
   ========================================== */

/* Animated nebula */
body::before{
  content:"";
  position: fixed;
  inset: -30vh -30vw;
  pointer-events:none;
  background:
    radial-gradient(700px 500px at 18% 12%, rgba(110,231,255,.12), transparent 55%),
    radial-gradient(600px 500px at 78% 18%, rgba(179,163,255,.10), transparent 50%),
    radial-gradient(800px 600px at 55% 75%, rgba(0,255,136,.06), transparent 55%);
  filter: blur(30px) saturate(1.1);
  opacity: .7;
  animation: drift 24s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift{
  0%{ transform: translate3d(-2%, -1.5%, 0) scale(1.01); }
  100%{ transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}

/* Subtle grid overlay */
.gridlines{
  position:fixed; inset:0; pointer-events:none; opacity:.22;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(55% 50% at 50% 0%, #000 50%, transparent 100%);
  animation: gridshift 30s linear infinite;
}
@keyframes gridshift{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 72px 72px, -72px 72px; }
}

/* Very subtle scanlines — dialed way down */
.scanlines{
  position:fixed; inset:0; pointer-events:none; z-index:9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent, transparent 2px,
    rgba(0,0,0,.04) 2px, rgba(0,0,0,.04) 4px
  );
  opacity: .3;
}

/* Vignette */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:9998;
  box-shadow: inset 0 0 120px rgba(0,0,0,.45);
}

/* Keep content above atmos */
.nav, main{ position: relative; z-index: 1; }

/* ==========================================
   NAVIGATION
   ========================================== */
.nav{
  position:sticky; top:0; z-index:100;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(4,6,10,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
  gap: 16px;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:700;
  letter-spacing:.15px; font-size: 15px; flex-shrink:0;
}
.logo{
  width:32px; height:32px; border-radius:9px; display:block;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(110,231,255,.15));
}

.nav-links{
  display:flex; gap:6px; color:var(--muted); font-weight:550; font-size: 14px;
}
.nav-links a{
  padding:8px 14px; border-radius:10px;
  transition: background .15s, color .15s;
}
.nav-links a:hover{
  background:rgba(255,255,255,.06); color:rgba(255,255,255,.92);
}

.nav-cta{
  flex-shrink:0;
}

/* Buttons */
.btn{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:rgba(255,255,255,.88);
  padding:10px 18px;
  border-radius: 12px;
  font-weight:650; font-size: 14px;
  display:inline-flex; gap:8px; align-items:center;
  transition: all .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.20);
}
.btn.primary{
  border-color: rgba(var(--accent-raw),.35);
  background: rgba(var(--accent-raw),.10);
  color: var(--accent);
  text-shadow: 0 0 8px rgba(var(--accent-raw),.3);
  box-shadow: 0 0 16px rgba(var(--accent-raw),.12);
}
.btn.primary:hover{
  background: rgba(var(--accent-raw),.18);
  box-shadow: 0 0 28px rgba(var(--accent-raw),.25);
  transform: translateY(-2px);
}

/* ==========================================
   HERO
   ========================================== */
.hero{
  padding: 80px 0 40px;
  min-height: min(85vh, 680px);
  display: flex;
  align-items: center;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color:rgba(255,255,255,.70);
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(var(--accent-raw),.18);
  background: rgba(var(--accent-raw),.05);
  font-size: 13px; font-weight: 550;
  letter-spacing: .3px;
}
.dot{
  width:7px; height:7px; border-radius:999px;
  background:var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 2px var(--accent);
}

h1{
  margin:20px 0 18px;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
}
/* Remove cursor from h1 — cleaner */

.gradient{
  background: linear-gradient(95deg, var(--brand), var(--brand2) 52%, var(--good));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  color:var(--muted);
  font-size: 16px;
  line-height: 1.85;
  max-width: 52ch;
  margin-bottom: 4px;
}

.hero-actions{
  display:flex; gap:12px; align-items:center;
  margin-top: 28px; flex-wrap:wrap;
}

/* Stats card */
.card{
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.card.holo{
  position: relative;
  overflow: hidden;
}
.card.holo::before{
  content:"";
  position:absolute; inset:-3px;
  background: conic-gradient(from 200deg,
    transparent, rgba(110,231,255,.22),
    rgba(179,163,255,.18), rgba(var(--accent-raw),.14),
    transparent);
  opacity: .45;
  filter: blur(16px);
  animation: halo 7s linear infinite;
  pointer-events:none;
}
@keyframes halo{
  0%{ transform: rotate(0deg) scale(1.06); }
  100%{ transform: rotate(360deg) scale(1.06); }
}
.card.holo::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(500px 200px at 30% 10%, rgba(110,231,255,.08), transparent 55%);
  mix-blend-mode: screen;
  opacity: .3;
  pointer-events:none;
}

.stats{padding: 24px 22px; position: relative;}
.stats > *{ position: relative; z-index: 1; }
.stats h3{
  margin:0 0 14px; font-size:12px;
  color:var(--muted2); font-weight:600;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.stat-grid{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.stat{
  padding:16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
  transition: border-color .2s;
}
.stat:hover{border-color: rgba(var(--accent-raw),.20)}
.stat .n{
  font-size:26px; font-weight:800; letter-spacing:-.5px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .l{font-size:12px; color:var(--muted2); margin-top:5px; line-height:1.4}

/* 3D canvas */
.hero-orb{
  position:absolute;
  top:-14px; right:-14px;
  width:min(400px, 100%); height:200px;
  opacity:.65; pointer-events:none; z-index: 0;
  filter: drop-shadow(0 16px 60px rgba(110,231,255,.12));
  mask-image: radial-gradient(70% 70% at 65% 25%, #000 48%, transparent 100%);
}

/* ==========================================
   SECTIONS (shared)
   ========================================== */
.section{
  padding: 80px 0;
  position: relative;
}
.section:nth-child(even){
  background: rgba(255,255,255,.015);
}
/* Top divider for each section */
.section::before{
  content:"";
  position: absolute; top:0; left:50%;
  transform: translateX(-50%);
  width: min(90%, 900px); height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08) 20%, rgba(255,255,255,.08) 80%, transparent);
}

.section-header{
  max-width: 640px;
  margin-bottom: 36px;
}
.section-header h2{
  margin:0 0 14px;
  font-size: 34px;
  letter-spacing:-.4px;
  font-weight: 800;
  line-height: 1.2;
}
.section-header p{
  margin:0;
  color:var(--muted);
  line-height: 1.85;
  font-size: 15.5px;
}

/* ==========================================
   FEATURES (Services)
   ========================================== */
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.feature{
  padding: 28px 24px;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.18);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature:hover{
  border-color: rgba(var(--accent-raw),.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.feature .icon{
  font-size: 28px;
  margin-bottom: 14px;
  display:block;
  filter: drop-shadow(0 0 12px rgba(var(--accent-raw),.3));
}
.feature .t{
  font-weight:700; margin-bottom:10px; font-size: 16px;
  color: #fff;
}
.feature .d{
  color:var(--muted); line-height:1.8; font-size: 14px;
}

/* Pill tags */
.pillrow{display:flex; gap:8px; flex-wrap:wrap; margin-top:20px}
.pill{
  padding:7px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-size: 12.5px;
  font-weight: 520;
  transition: border-color .15s, color .15s;
}
.pill:hover{
  border-color: rgba(var(--accent-raw),.20);
  color: rgba(255,255,255,.80);
}

/* ==========================================
   SPLIT PANELS (Strengths, Contact)
   ========================================== */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.panel{
  padding: 28px 24px;
  border-radius: var(--radius);
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.14);
  transition: border-color .2s;
}
.panel:hover{border-color: rgba(255,255,255,.14)}
.panel h3{margin:0 0 14px; font-size: 17px; font-weight: 700; color:#fff}
.panel ul{margin:0; padding-left:18px; color:var(--muted); line-height:1.9; font-size: 14.5px}

/* ==========================================
   BLOG SECTION
   ========================================== */
/* 上2枚 / 下3枚 の2段グリッド */
.blog-row-top{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.blog-row-bottom{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.blog-row-top .blog-card-img{ height: 220px; }
.blog-row-bottom .blog-card-img{ height: 160px; }

.blog-card{
  border-radius: var(--radius);
  border: 1px solid var(--stroke2);
  background: rgba(0,0,0,.18);
  overflow: hidden;
  transition: border-color .2s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover{
  border-color: rgba(var(--accent-raw),.22);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,.35);
}
.blog-card-img{
  width:100%; height: 180px;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img{
  transform: scale(1.04);
}
.blog-card-img-wrap{
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-body{
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-date{
  font-size: 12px; color: var(--muted2); margin-bottom: 8px;
  font-weight: 550;
}
.blog-card-title{
  font-size: 16px; font-weight: 700; color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
}
.blog-row-top .blog-card-title{
  font-size: 18px;
}
.blog-card-desc{
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card-link{
  font-size: 13.5px; font-weight: 650;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-card-link:hover{ text-decoration: underline; }

/* More button row */
.blog-more-wrap{
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.blog-more-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-raw),.35);
  color: var(--accent);
  background: rgba(var(--accent-raw),.06);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .18s;
}
.blog-more-btn:hover{
  background: rgba(var(--accent-raw),.14);
  box-shadow: 0 0 20px rgba(var(--accent-raw),.22);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer{
  padding: 48px 0 56px;
  border-top: 1px solid rgba(255,255,255,.06);
  color:var(--muted2);
  font-size: 13.5px;
}
.foot-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; color:var(--text); font-size: 15px;
  margin-bottom: 12px;
}
.foot-desc{
  color:var(--muted2); font-size: 13px; line-height: 1.7;
  max-width: 28ch;
}
.foot-col h4{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 650;
}
.foot-col ul{
  list-style:none; margin:0; padding:0;
}
.foot-col li{margin-bottom: 8px}
.foot-col a{
  color: var(--muted2);
  font-size: 13.5px;
  transition: color .15s;
}
.foot-col a:hover{color: var(--accent)}
.foot-bottom{
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted2);
  font-size: 12.5px;
}

/* ==========================================
   REVEAL ANIMATION
   ========================================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .65s cubic-bezier(.2,.8,.2,1),
    transform .65s cubic-bezier(.2,.8,.2,1),
    filter .65s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr; gap: 28px}
  .hero{padding: 50px 0 30px; min-height: auto}
  h1{font-size: 38px;}
  .features{grid-template-columns: 1fr;}
  .split, .contact-grid{grid-template-columns: 1fr;}
  .blog-row-top, .blog-row-bottom{ grid-template-columns: 1fr; }
  .blog-row-top .blog-card-img, .blog-row-bottom .blog-card-img{ height: 180px; }
  .nav-links{display:none;}
  .foot-grid{grid-template-columns: 1fr 1fr; gap:24px}
}
@media (max-width: 480px){
  h1{font-size: 30px;}
  .section-header h2{font-size: 26px}
  .container{padding: 0 18px}
  .foot-grid{grid-template-columns: 1fr}
}
