*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;
  background:#05060a;
  color:#f5f7ff;
  line-height:1.65;
}
a{text-decoration:none;color:inherit}

.hero-v4{
  min-height:900px;
  padding:28px;
  background:
    radial-gradient(circle at 15% 18%,rgba(57,91,255,.35),transparent 30%),
    radial-gradient(circle at 80% 12%,rgba(0,221,184,.22),transparent 28%),
    linear-gradient(135deg,#05060a 0%,#0d1224 48%,#080a12 100%);
  position:relative;
  overflow:hidden;
}
.hero-v4:after{
  content:"";
  position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 70%);
  pointer-events:none;
}
.nav-v4{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
  z-index:2;
}
.nav-v4 strong{font-size:18px;letter-spacing:.2px}
.nav-v4 div{display:flex;gap:18px;color:#b8c2dd;font-size:14px}

.hero-copy{
  max-width:1200px;
  margin:130px auto 0;
  position:relative;
  z-index:2;
}
.live-pill{
  display:inline-flex;
  padding:9px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#9ff5c8;
  font-weight:900;
  margin-bottom:24px;
}
.hero-copy h1{
  margin:0;
  font-size:clamp(46px,8vw,96px);
  line-height:1.02;
  letter-spacing:-4px;
}
.hero-copy p{
  max-width:760px;
  color:#b7c1d8;
  font-size:21px;
  margin:28px 0;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-actions a{
  padding:15px 22px;
  border-radius:16px;
  background:#fff;
  color:#070b16;
  font-weight:900;
}
.hero-actions a:nth-child(n+2){
  background:rgba(255,255,255,.1);
  color:white;
  border:1px solid rgba(255,255,255,.15);
}

.hero-status{
  max-width:1200px;
  margin:90px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  position:relative;
  z-index:2;
}
.hero-status article{
  padding:26px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(14px);
}
.hero-status span{display:block;color:#9aa7c2;font-weight:800}
.hero-status strong{display:block;font-size:40px;margin-top:8px;letter-spacing:-1px}

.main-v4{
  max-width:1200px;
  margin:-110px auto 0;
  padding:0 20px 80px;
  position:relative;
  z-index:3;
}
.featured{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  padding:42px;
  border-radius:36px;
  background:#fff;
  color:#111827;
  box-shadow:0 30px 90px rgba(0,0,0,.38);
}
.section-label{
  display:inline-flex;
  padding:8px 13px;
  border-radius:999px;
  background:#eef4ff;
  color:#3538cd;
  font-weight:900;
  margin-bottom:16px;
}
.featured h2{
  margin:0;
  font-size:46px;
  line-height:1.08;
  letter-spacing:-2px;
}
.featured p{font-size:18px;color:#475467}
.feature-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.feature-tags span{
  padding:7px 11px;
  border-radius:999px;
  background:#f2f4f7;
  color:#344054;
  font-weight:800;
  font-size:13px;
}
.feature-actions{display:flex;gap:10px;flex-wrap:wrap}
.feature-actions a{
  padding:13px 17px;
  border-radius:14px;
  background:#111827;
  color:white;
  font-weight:900;
}
.feature-actions a:nth-child(2){background:#eef4ff;color:#3538cd}

.featured-card{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:30px;
  background:linear-gradient(135deg,#111827,#172554);
  min-height:380px;
}
.phone-frame{
  width:230px;
  min-height:430px;
  border-radius:36px;
  padding:16px;
  background:#05060a;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}
.phone-top{
  width:74px;height:8px;border-radius:999px;background:#1f2937;margin:0 auto 18px;
}
.phone-screen{
  min-height:370px;
  border-radius:26px;
  background:#f7f8fc;
  color:#111827;
  padding:18px;
}
.phone-screen b{display:block;font-size:18px;margin-bottom:8px}
.phone-screen p{font-size:13px;margin:0 0 18px}
.mini-list{
  display:flex;
  justify-content:space-between;
  padding:13px;
  border-radius:15px;
  background:white;
  margin-bottom:10px;
  box-shadow:0 5px 18px rgba(0,0,0,.07);
}

.section-v4{
  margin:26px 0;
  padding:40px;
  border-radius:34px;
  background:#fff;
  color:#111827;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}
.section-head-v4 span{
  color:#2563eb;
  font-weight:900;
}
.section-head-v4 h2{
  margin:8px 0 26px;
  font-size:40px;
  line-height:1.14;
  letter-spacing:-1.8px;
}
.role-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.role-grid article,.project-v4,.proof-links a{
  border:1px solid #e4e7ec;
  background:#f8fafc;
  border-radius:24px;
  padding:24px;
}
.role-grid h3{font-size:24px;margin:0 0 8px}
.role-grid p{color:#475467;margin:0}

.project-v4-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.project-v4{
  min-height:290px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.project-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#ecfdf3;
  color:#027a48;
  font-weight:900;
  font-size:12px;
}
.project-v4 h3{
  font-size:28px;
  margin:14px 0 10px;
  letter-spacing:-1px;
}
.project-v4 p{color:#475467}
.project-bottom a{
  display:inline-flex;
  padding:11px 14px;
  border-radius:13px;
  background:#111827;
  color:white;
  font-weight:900;
}

.dark-panel{
  background:linear-gradient(135deg,#101828,#172554);
  color:white;
}
.dark-panel .section-head-v4 span{color:#9fb4ff}
.system-line{
  display:grid;
  grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items:center;
  gap:10px;
}
.system-line div{
  text-align:center;
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  font-weight:900;
}
.system-line i{height:2px;background:#93c5fd}

.proof-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.proof-links a{
  text-align:center;
  font-weight:900;
  background:#111827;
  color:white;
}

.footer-v4{
  text-align:center;
  padding:70px 20px 90px;
}
.footer-v4 h2{
  margin:0;
  font-size:38px;
  letter-spacing:-1.5px;
}
.footer-v4 p{color:#98a2b3}

/* 기존 서브페이지 호환 */
.sub-hero{padding:46px 24px 110px;min-height:300px;background:linear-gradient(135deg,#101828,#172554);color:white}
.sub-hero h1{max-width:1160px;margin:22px auto 8px;font-size:46px;letter-spacing:-1.5px}
.sub-hero p,.sub-hero a{max-width:1160px;margin-left:auto;margin-right:auto;display:block;color:#c7d2fe}
.sub-hero+main{margin-top:-76px}
.section,.notice,.metrics,.gallery-grid,.demo-form,.timeline,.check-grid,.proof-grid,.table-wrap,.report-box,.print-page,.console-section{max-width:1160px;margin-left:auto;margin-right:auto}
.section{background:#fff;color:#172033;border-radius:30px;padding:36px;margin-top:24px;margin-bottom:24px;box-shadow:0 24px 70px rgba(0,0,0,.18)}
.notice{padding:18px 22px;border-radius:18px;background:#fffbeb;border:1px solid #fedf89;color:#7a4b00;margin-top:24px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.metrics article{background:#fff;color:#111827;border-radius:28px;padding:26px}
.check-grid,.proof-grid,.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.check-grid article,.proof-grid article{padding:22px;border-radius:22px;background:#f8fafc;border:1px solid #e4e7ec;color:#111827}
table{width:100%;border-collapse:collapse}
th,td{padding:15px;border-bottom:1px solid #e4e7ec;text-align:left}
th{background:#101828;color:white}
.status{padding:6px 10px;border-radius:999px;background:#ecfdf3;color:#027a48;font-weight:900}
.demo-form{display:grid;gap:12px}
.demo-form input,.demo-form textarea{width:100%;padding:14px;border:1px solid #d0d5dd;border-radius:14px;font-size:16px}
.demo-form button{padding:15px 18px;border:0;border-radius:14px;background:#101828;color:white;font-weight:900}
.gallery-grid img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px}
.console-section{background:#0b1220;color:#d1e7ff;padding:0;overflow:hidden}
.console-head{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center;padding:14px 18px;background:#111827}
.console-body{padding:20px;max-height:520px;overflow:auto}
.console-body p{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:#c7d7fe}

@media(max-width:900px){
  .hero-status,.metrics,.proof-links,.check-grid,.proof-grid,.gallery-grid{grid-template-columns:repeat(2,1fr)}
  .featured,.role-grid,.project-v4-grid{grid-template-columns:1fr}
  .system-line{grid-template-columns:1fr}
  .system-line i{height:24px;width:2px;margin:0 auto}
}
@media(max-width:640px){
  .nav-v4 div{display:none}
  .hero-copy{margin-top:90px}
  .main-v4{margin-top:-70px}
  .hero-status,.metrics,.proof-links,.check-grid,.proof-grid,.gallery-grid{grid-template-columns:1fr}
  .featured,.section-v4,.section{padding:24px;border-radius:26px}
  .hero-copy h1{letter-spacing:-2px}
}
